A psychologist is called in to deal with a situation that has gone out of control at a juvenile prison.