§ 501 Restrictions on officers and employees of the department; penalty