Any person who willfully destroys the property of exhibitors, visitors, or lessees on the fairgrounds, or hinders or obstructs the officers or policemen in the performance of their duties, or wrongfully or maliciously gains admission to the fairgrounds contrary to the rules of said society or without paying the established fees during any fair of said society is guilty of a misdemeanor and, upon conviction thereof, shall be punished by a fine of not less than five dollars nor more than twenty-five dollars, or by imprisonment in the county jail for not more than thirty days. All fines so imposed and collected under this section shall be paid into the treasury of the county in which such trial is held.