I find it funny that a military commander can't order someone to submit to a full body search without that person being arrested or detained, yet it is somehow legal to order a military member to fly via commercial airline where that military member will be subjected to either a thorough groping or having nudie pics taken of them.
The military goes to such great lengths to do the right thing in this area, that during our recurring fitness tests, the waist measurement has to be done by a same-sex test administrator who has undergone special training. No, in the military, you gotta get arrested before you are subjected to a full body search. Except when you're ordered to fly commercial, then it's perfectly fine to get involuntarily groped without being arrested or detained for cause, and you can't decline because that would be "failure to go" punishable under the UCMJ.
Funny how the US used to be proud about standing up against that sort of thing in the world.