Any person who falsely claims to be or assumes to act as an elected or appointed officer, magistrate, peace officer, or person authorized to act on behalf of the state or any subdivision thereof, having no authority to do so, commits an aggravated misdemeanor.