It shall be unlawful and a misdemeanor, unless the same is by this title or other law of this state declared to be a felony or gross misdemeanor, to divert or use, or authorize, permit or participate in the diversion or use of any moneys in the county road fund or in the city street fund for any other purpose or in any other manner than that authorized by law.