can a magistrate refuse to issue a search warrant
Only judges and magistrates may issue search warrants. In Coolidge v. Hampshire, while laying down that a warrant issued by the state attorney general, the Court stated that the key is that a warrant must be issued by a neutral and detached magistrate capable of determining whether probable cause exists.