Honestly, there should still be an inquest or something where the guy is brought in and must explain wtf he was thinking or trying to accomplish by fighting her release. And if he doesn’t have a satisfying answer, remove him from the position.
And no, I wouldn’t consider “trying to save the state taxpayers from a lawsuit for the false imprisonment” a satisfying answer.
In fact, if he can’t defend a position such that it’s reasonable to believe she was actually guilty, there should be criminal charges against him and anyone who worked with him to stop or stall the release. And I’d say this should be the case for any prosecution where it becomes just about winning a case rather than demonstrating the truth in court.