Any person violating the provisions of this article shall be deemed guilty of an offense and upon conviction in the magistrate court shall be punished as provided in section 1-12.