Every airport I've ever been in has female security personal for searching women, and male for men. I'm sure a court would be the same. I don't see what special considerations there'd have to be for religion.