I'm not from the US, so maybe I'm misunderstanding your legal system, but that appears to be a ruling by an appeals court, not the Supreme Court. It also appears to predate the current security checks, where the alternatives of being virtually strip searched or sexually assaulted are each dubious on both ethical and, at least under other circumstances, legal grounds. It seems to me as a non-lawyer that such a ruling might be challenged on several grounds today, not least constitutional ones.