This sort of shit is why people continue to lose faith in the courts. The legal world chodes can blame politics all they want, but it all comes back to courts screwing over normal people to back up corrupt cops and prosecutors.
The courts err on the side of giving themselves and the government more power at the expense of our rights. They've earned our distrust.
They've completely eviscerated the spirit of the 4th amendment.