Any person who willfully violates this article is guilty of a misdemeanor and, upon conviction thereof, shall be punished by a fine not to exceed five hundred dollars or by imprisonment in the county jail for not more than one year, or by both such fine and imprisonment.