I agree with you 100% !
I think the judge did it because he saw that taylor had never been love or cared about his whole life. He knew taylor word suffer and die in jail. So judge likely "missed filed something" to save him and hoping that he find happiness there. That would also explain why he got great bigs and he got them though daddy "connections".
So I think the Judge is the real hero of this story!