The court fined the Head of the prison and deprived the doctor of liberty