Reminds me of Russia. There's your release date... and then there's your court date. You aren't released until the court date after your release date, and without a bribe that could be years. You might never get out.
I haven't been there in a while, but this is how it was when I lived in Moscow.