There is often several electors or so that vote for a different candidate, so this has always been allowed. Now the court has finally ruled on it. I assume the Supreme Court will agree.
That’s a bad assumption. SCOTUS will rule that it is the state to decide, not the federal court system.