Keep a pet judge handy
it seems that lately it has become so easy to get a search warrant over here that they don't think they even have to give a reason any more.
Any US police agency (local, state, federal) worth its name keeps a pet judge handy. Now that most judges are elected, it looks really good for their "tough on crime" creds. All they ask is a bit of restraint: it's never good for a cop to embarrass the judge. But wait! That's what the prosecuting attorney is for ... to shield the judge from some stupid cop's aggregious screwups!