Saw this one probably the early 2000s. About a guy in prison who claims innocence. A female lawyer tries to help him. He keeps getting beaten by the sadistic chief of the guards. In the end, his innocence is proved, but it ended being just in his imagination, as the man is shown catatonic in his cell.