I think it would depend on how it is argued. One could make the case that it disenfranchises the voters who would likely see their votes overriden by this law.
The states can cast their votes any way they want. Unless a republican wins.