Any act, the commission of which constitutes a misdemeanor under the laws of the state, is prohibited within the city, and if committed within the city, is declared to be an offense; provided, however, that the penalty therefor shall not exceed the penalty prescribed in § 10.99 or the penalty prescribed by state law, whichever is less.
(`87 Code, § 14-1) Penalty, see § 10.99