Any violation of this article shall be deemed a misdemeanor and shall be prosecuted in the magistrate court of the county, with punishment as provided in section 1-12.