Section 16B. No person employed for compensation shall be under any obligation to contribute to any candidate or political committee, or to render any political service on account of, or as a consequence of, his employment, and such person shall not be removed or otherwise prejudiced for refusing to do so. This section shall not apply to a person employed by a candidate or political committee or other organization organized for the purpose of rendering political service. A violation of this section shall be punished by a fine of not more than one thousand dollars or by imprisonment for not more than six months or both such fine and imprisonment. Each such violation shall constitute a separate offense.