And if we would just get rid of that pesky presumption of innocence thing, we'd sure imprison more criminals. That would be a good outcome, purchased at far too high a price.
In this case, the defendant sure looks like he's guilty. Doesn't matter. If the government didn't follow the law, he should walk.
It sucks when we occasionally let defendants go free who are quite obviously guilty, just because somebody screwed up an evidentiary chain of custody, or was too loosey-goosey about getting a confession through enhanced interrogation, or collected evidence illegally, or whatever breach of due process happened because somebody was lazy/corrupt/just plain human. But we have to do it.
When the government charges an individual with a crime, it's a proceeding by an entity of comparatively infinite power against an individual. It's good that the government has to follow rules exactly in this process. This good thing that we have costs a lot from time to time, and it's worth it.