Section 24. (1) Enforcement of Provisions. — If the public employee retirement administration commission determines that any governmental unit, any officer or employee thereof, or the state board of retirement, the teachers’ retirement board, or any other board subject to the provisions of sections one to twenty-eight, inclusive, or any member or employee of any such board, has violated or neglected to comply with any provisions of such sections, or the rules and regulations established thereunder, he shall give notice thereof to the governor, county commissioners, the mayor, the board of selectmen, the Massachusetts Department of Transportation, the Massachusetts Bay Transportation Authority, the Massachusetts Housing Finance Agency, the Massachusetts Port Authority, the Blue Hills Regional Vocational School System, the Greater Lawrence Sanitary District, or the Minuteman Regional Vocational Technical School District, as the case may be, and to the board and, thereafter, if such violation or neglect continues, shall forthwith present the facts to the attorney general who shall take appropriate action. The superior court shall have jurisdiction in equity upon petition of the public employee retirement administration commission or any interested party to compel the observance and to restrain the violation of any provision of sections one to twenty-eight, inclusive, and of the rules and regulations established thereunder.
(2) Penalties for Violations. — Any person who wilfully refuses or neglects to comply with any provision of sections one to twenty-eight inclusive, or any rule or regulation established thereunder, shall be punished by a fine of not more than one thousand dollars or imprisonment for not more than one year, or both.