Neither a local public entity nor a public employee acting within the scope of his employment is liable for interfering with the right of a prisoner to obtain a judicial determination or review of the legality of his confinement, but a public employee and the local public entity where the employee is acting within the scope of his employment is liable for injury proximately caused by his intentional and unjustifiable interference with such right.
745 ILCS 10/4-104