"We didn't have a warrant, but we were getting one, so the illegal search should be good."
Screw this noise. Throw out the evidence, then charge every officer involved with violation of the 4th Amendment.
And throw these judges out of their offices. Preferably via a high window.