There are multiple parts to the decision. Roberts sided with Alito, Scalia, Kennedy, and Thomas on the limitations to the Commerce Clause.
So? By voting with the libs and only writing HIS opinion, not the majority, on the commerce clause it’s just a side note.
The 5-4 ruling doesn’t stop the misuse of the commerce clause.