Any person who violates this article shall, upon conviction before the county magistrate court, be fined or imprisoned as provided by section 1-9.