This is what is needed: a large number of people or states, a groundswell of opinion. The courts, at all levels, don’t want to intervene in an election, especially not with the media so overwhelmingly anti-Trump. But sufficient pressure will persuade them.
You can also see the size of territory these states cover. It is a contiguous territory, too. That means they can potentially split as another national entity. A scary development for them.