Not that I really believe that we still live under the rule of law anymore, but I don’t see how an elector (who is literally the person being selected when one casts a ballot for president) can be compelled by law to vote a particular way.
The elector could be compelled by a brick through his living room window, especially in New Jersey.