Impersonating a public servant, impersonating a public officer or impersonating a public official is a crime or misdemeanor in several jurisdictions. From Wikipedia
Authorities in Ludwigslust have opened a formal inquiry into a July 22 event in which impostors claiming to be police officers frightened a Turkish family seeking asylum.