For what it's worth, I thought the judge's speech reflected very poorly on him. The thing contained no reference to any special knowledge of the case the judge may have had - you'd think, should have had - and therefore gives the impression that the trial made no difference, that it was a mere formality. The presumption that the judge knows the prisoner's motivation better than the prisoner, his counsel, and the prosecuting counsel is sheer lunatic arrogance - especially when it's such an unlikely reason.
If the judge had brought in a little CD player to play some stirring patriotic music while he spoke, it wouldn't in the least have surprised me. But perhaps he likes the sound of his own voice too much.