A man is pretending to be a police officer.