While this is infuriating and a judge that rules like this should be impeached, isn't there a write in opition on ballots?
Yes there is a write in option for Nader, but in PA you have to list all 12 electors by name to write him in or it doesn't count.