A violation of this chapter shall constitute a misdemeanor and shall be tried in the county magistrate court and upon conviction shall be punishable according to section 1-9, general penalty.