Such admissions can arise, for example, when an employee takes a polygraph tests as part of a renewal of a security clearance.
Interestingly, this is very illegal for private companies to do under EEPA. Why should government employers get an exception?