Nothing wrong with it, IMHO, as long as the accused isn’t making an exhibition of himself.
I often drop my keks when changing from “watersports” or biking. I try and keep it brief and discreet, but wouldn’t dream that anyone else would get het-up about seeing my nuts.
“You can’t always get privacy, but you can always give it” – i.e look the other way!