Section 23(1) states that whenever a code is made, any provision in any other enactment that makes similar provision, or is inconsistent with the code, or would, apart from the section, "continue to regulate the conduct of the member of the devolved public body . . . thereupon ceases to have effect".