It's a 9-0 decision on the basis of the fact that states can't kick someone off the federal ballot. Enforcement against federal offices have to come elsewhere.
Barrett makes a concurring opinion about how great it is that the Supreme Court came to a unanimous decision on this.
Sotomayor, Kagen, and Jackson issue a concurring opinion of substance: that the majority opinion shuts the door to avenues of enforcement at the federal level besides Congress, and that's a problem.