For the purpose of better providing for the preservation of the public peace during the annual fairs of the State Agricultural and Mechanical Society of South Carolina all fines imposed for offenses committed on the fairgrounds during the sessions of the annual fairs shall be turned over to the treasurer of the Society by the magistrate before whom such cases are tried if the arrests of the offenders were made by persons appointed or employed by the authorities of the Society.