(a) A member of a retirement system shall not receive credit for service or contributions for credit for service in violation of the prohibitions provided in Section 23007.5 or 50033.

(b) Nothing in this section shall prohibit an elective officer from purchasing service credit pursuant to Section 31658.

(Added by Stats. 2006, Ch. 355, Sec. 3. Effective January 1, 2007.)