That judge is a filthy dog, not a human person what a despicable creature.
Not an attempt in any way to defend this judge -- could it be that he knows his words and actions define him as you describe, but that he is far too timid and much too aware of his lack of ability and knowledge to craft a humane decision that is consistent with the law?
Having willingly taken on his position of power and authority over his fellow citizens, then being unwilling to act in a humane -- not compassionate, but humane way while sitting in judgment of their pleas ... I hope he suffers greatly from the horror he has brought upon the parents of this child.