You certainly have “discretion” to hire the most qualified person but if you don’t hire the cross dresser and you hire a normal Heterosexual white guy, then the cross dresser will probably sue you for discrimination and then you will have to prove that the guy you hired was more qualified. Good luck with that.
That is certifiable insanity!