I came to cite the same part of the article, but for the reason that it makes no sense, after the word "because".
It's legal to search people because they have a right to decline? I think the author meant it's legal to request a search. Of course, it's legal for anyone to _request_ anything. Small change in wording but I'd say it matters.