yes it will hold up in court.
Police don't let suspects out of detention just because they complain they have to pee. High-tech state-of-the-art tracking technology from Google and Apple indicates that these people are somehow involved in the disappearance of a missing person. How dumb would the officer look if he let a suspect destroy evidence, escape, or otherwise pull something on the claim that they have to pee?