Any person violating any of the provisions of the two preceding sections shall be guilty of a misdemeanor.