A registrar, assistant registrar or a member of a listing board or a police officer in a city or town having a listing board upon whom a duty is imposed by any law relating to the listing or registration of voters, who refuses or wilfully fails to perform such duty, or who wilfully performs it contrary to law, shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than six months.
Mass. Gen. Laws ch. 56, § 3