The “court” cannot decide this.
This is hardly new.
Recall the election of “Ruthefraud Hayes” in the compromise of 1876.
I am just glad I live in Texas. I can not imagine my state legistrators or governor saying that they’d give the electoral votes to the popular vote candidates over their own state voters.
Yeah it can - in fact this is well within the purview of the court - to determine constitutional cases like this.