I’m forced to agree with the Warren court. Cops and prosecutors are symbiotic organisms; under most circumstances, the latter have a strong interest in ignoring the transgressions of the former. Removing the incentive for the trangressions is the best way to reduce (although not eliminate) the transgressions.
If drugs were legal, it would end many stops and most searches and harassment of the public.