The prosecution and police can't simply use inappropriate evidence. In some cases it's possible (and worth the effort) to do 'parallel construction' by getting a warrant for some other evidence confirming the same thing, but it's not something that can be done at scale without it being obvious.