By “amorphus means” you mean that we elect electors rather than candidates?
How many times has an elector voted against the candidate of his party?
Therefore, electors = candidates. For the judge to decide otherwise is slight of hand.
That, and the fact that the law is written around political parties and their procedures. The accountability is pretty lax on this point of eligibility of presidential candidates,as far as prevention. I would think that if fraud could be proved on the part of party officials, and a criminal indictment were brought for perjury in certifying the candidate, that would be the ideal, but there seems to be no stomach for that in any state.