That's what happens when the Constitution is ignored.
The procedure for chusing electors is clearly laid out in the Constitution. The state legislatures have SOLE authority over state procedures. The courts have NOTHING to do with it.
After electors are chosen, the entire process is political. If that is not a political, nonjusticeable question, nothing is.
Bush's grounds for a suit before USSC were pathetic. His case belonged before Congress, where, it is beyond question, he would have prevailed - but in a legal and Constitutional manner which would have been beyond dispute.
The courts which “have nothing to do with it” (FLSC) were allowing the Constitution to be violated. SCOTUS was right to rule as it did.