The legal theory on which the judge based his ruling goes back hundreds, perhaps even thousands of years.
The commenter defamed another person, which is actionable in court.
The fact that the commenter was essentially standing in the public square with a hood, or bag, over his head so no one could see who it was that was commenting, shouldn't protect him against legal action.
The judge correctly ruled his anonymity cannot protect him from prosecution for an illegal act.
By way of example, what is the correct decision if the commenter instead robbed a bank though the use of hacking? Should he then be able to keep his anonymity?
Well, true - unless you're Sarah Palin, Clarence Thomas, or any other Emmanuel Goldstein on the right...
1. Everything is a crime under 21st century American peasant law.
2. Your Red Delicious apple and my Valencia orange must grow on the same tree, I guess... Wonderful grafting job the horticulturists can do these days.