Who says they even have to be trans? If your security agents' brains are broken by a person not looking like a narrow stereotype of their sex, they're just bad at their jobs full stop (especially considering that they also have to identify children for example)