When he was president, Donald Trump was able to place three justices on the Supreme Court; Neil Gorsuch, Brett Kavanaugh, and Amy Coney Barrett. It seems like he has long considered this fact to be his ace in the hole. He could get away with any kind of behavior as long as the case makes it to the court.
There is no guarantee that he is right about that. Kavanaugh and Gorsuch have both made rulings that deeply surprised the GOP ruling class. According to Maggie Haberman from the New York Times, he is worried that they could rule against him in his ballot case.
The reporter told CNN, "They believe, generally speaking, he and his advisors, that they will have success at the Supreme Court, but he has also voiced some concern that a court that has — he appointed three of the justices at the Supreme Court and gave a the conservatives a supermajority — he is concerned that they are going to look as if they’re trying not to rule in his favor and might rule against him."
The New York Times scribe did not that Trump's people also see the ballot issue as potentially being positive for them. She continued, "We will see, but right now, this is crowding out final days of the primaries when [Trump’s] rivals, who are trailing him, need to get attention. And to that end, his team sees some advantage and also to the points made before, there are a lot of people, including some Democrats, who are criticizing these decisions and they are amplifying that as much as they can."