Statutes authorizing unreasonable searches were the core concern of the framers of the 4th Amendment.
The dark shadow we seem to see in the distance is not really a mountain ahead...