19. A violation by an employee of a rule of the code of ethics and conduct referred to in section 16 may, on a decision of the municipality and subject to any contract of employment, entail any sanction warranted by the nature and seriousness of the violation.