(a) This article shall be enforced by the office of the building inspector of the county. Citations for violations may be issued by the building inspector of the county. (b) Any person, corporation, partnership or other entity violating this article shall be tried before the magistrate court of the county. Upon conviction, a violation of this article may be punished according to section 1-9, general penalty.