It is unlawful for any person other than a duly commissioned police officer to wear or carry the uniform, apparel, badge, identification card or other insignia of office, the same, similar or a colorable imitation of that adopted and worn or carried by duly commissioned police officers unless acting in the course of regular business and with the permission of the city, or, without authority, to exercise or attempt to exercise the functions of, or pretend to be, a peace officer or judge. (Prior code § 7-1-23)