Ok, I'll assume you are in some type of business with that screen name.
Next let's look at this, the police officer is not a lawyer, he is a jack of all trades with some training in many fields, shooting, driving, law, self defense, and OWI procedure to name a few.
What your question assumes is that the Judge is always correct. As if no Judge has ever been reversed on appeal. Search and seizure is a very wide field.
There is a difference between doing the job intentionally wrong, making a technical error, trying to "walk the line", and just being poor at your job. Also many times when search and seizure is reversed it is a case where the officer followed dept. policy but the policy was wrong for that circumstance, would you punish the officer then? What about cases where officers execute search warrants and later the warrants(signed by a Judge drawn up by a DA) are found to be defective?? Doing it intentionally wrong should result in punishment. "walking the line" or technical error should be explained to the officer, becuase often it wasn't done wrong, but something more needed to be said in a report or during testimony. Just being bad at the job should result in more training and if it progresses discipline.
What if the problem was the DA just did a poor job supporting a legal search in the hearing?
Back to you what if they passed a law that if an internet order was filled improperly you had to pay 50 times what the value of the order was to the customer........what your suggesting is similar.