> To what end was this done? Is a gay man a worse cop or bureaucrat?

We seem to need an internal enemy to blame for our societies' problems, because it's easier than facing the reality that we all play a part in creating those problems.

Gay people are among the oldest of those targets, going back to at least the times of the Old Testament (i.e. Sodom and Gomorrah).

We've only recently somewhat evolved past that mindset.