The question before the U.S Supreme Court this term was whether these loyalty laws are Constitutional. Those challenging the laws argued that states lack the power to penalize faithless electors, and that electors must have some agency, or discretion, as to who they vote for. A unanimous court disagreed. . . .
This isn't about electors being bound by their oath to vote for the candidate of the Party they represent. It is about the selection by the State of its electors. And under the Constitution, a State can use whatever means it chooses to select its electors. If California wishes to dilute the power of its own citizens by tossing their votes into a national pool for the selection of its electors, then they have that right. However, the price should be a vast reduction in their representation in the House of Representatives per Amendment XIV.
Personally, I would like to see Trump win the popular vote just to see California send Republican electors to the electoral college even though Biden may have won the California vote. But knowing how Democrats operate, I highly doubt that they would abide by their new rules in that event.