A member of council who, by vote, appoints any person to the police force or as a fire apparatus operator contrary to the provisions of this subchapter, or a member of council or member of the commission who willfully refuses to comply with or conform to the provisions of this subchapter, commits a misdemeanor and, upon conviction, shall be sentenced to pay a fine not exceeding $100 or to imprisonment not exceeding 90 days, or both.