No crime being committed isn't really the standard. "Due process" is the standard. If you go through the process and the judge decides you're guilty, you're guilty. And you're going to do your time. It doesn't matter whether or not you committed the crime, only that you can prove you were not provided "due process."
Innocent people frequently wind up in prison and even after exculpatory evidence is discovered, it takes A LOT of effort to get them released. Because the state argues "they were provided with due process."