”Now, if officers use legal loopholes to take illegally-acquired evidence and somehow make it legal, that's a practice that should be rooted out and those involved prosecuted.”
If in practice illegal practices, are not rooted-out or prosecuted, and actually condoned, I think one would need to look askance at the entire concept…
However, I fully recognize how such a process might be abused and the need for a very firm legal hand to avoid accidentally becoming an authoritarian state.
They can and do violate the law (without consequence) until they find a foothold that allows them to fabricate the appearance of a legally obtained chain of evidence. Then, they fully suppress the evidence about how that information was originally obtained.