Whoever violates section 5.10 of the Revised Code shall be fined not more than five hundred dollars, or imprisoned not more than thirty days, or both.