Can I get my case dismissed because I was searched without a warrant?
If a judge rules that the police should have obtained a warrant before conducting their search, the judge will usually exclude the evidence at trial. In some situations, however, the evidence can be used:
In addition, if the prosecution can show that they would have come upon the evidence in the normal course of their investigation, the judge may let it in. This exception is known as "inevitable discovery."
For more on how it works, see Police Searches and Improperly Issues Warrants