Any person violating any provision of this part 2, as well as any person consenting to such violation, is guilty of a misdemeanor and, upon conviction thereof, shall be punished by a fine of not more than one thousand dollars, except as otherwise provided in this part 2.