The problems in that trial are due to the inept prosecution, not the judge.
I haven't followed this, but I've never thought the death penalty in espionage cases (this sort of is one)was practical. You don't know what secrets this guy might be holding.