(1) Employment by the State or a subdivision thereof or by the United States as a law enforcement officer at the time of the conduct charged is an affirmative defense to a prosecution for impersonating a law enforcement officer.
(2) It is no defense to a prosecution for impersonating a law enforcement officer that the office the person pretended to hold did not in fact exist.