Stops him from killing more people in jail line the one he beat to death while avoiding the torture of permanent solitary confinement? At least that’s the justification I would use if he’s been years or decades alone. If that’s not the case yeah it kinda seems like retribution.