The court before which any violator of any such resolution is convicted may impose any fine or term of imprisonment not exceeding the maximum fixed in the resolution. In default of the payment of the fine imposed thereunder, a person convicted of a violation of any such resolution may, in the discretion of the court in which he was convicted, be imprisoned in the county jail for a term not exceeding ninety days.
N.J.S. § 40:24-7