Looks like they went to extraordinary lengths to make the search constitutional. I'm with W on this one.
Exactly- they did everything by the book.