The pre-trial detention issue is a very serious one. I think many of us are watching to see what the implications of that are. Many people are held in detention longer, perhaps, than the sentence they would have received would have imposed upon them, and then the charges against them are dismissed without a conviction being registered. The fact that there's been no conviction for the sentence doesn't necessarily mean what you're suggesting it means.
The other point I would make is that you're into a very challenging calculation issue as to what the implications would be. Let's just make the assumption.... I guess it would be a day-for-day calculation if the person is subsequently acquitted, but what if the charges are simply stayed or withdrawn?