The fact that the Supreme Court has ruled on this precludes ANY state or local government from doing so. If the Supreme Court strikes down this law, it cannot be resurrected by any local authority.
I agree with you that the Federal government has no such authority, but now no local government does either.
I concur with the result reached by the court, but I would dissent with the reasoning. Application of the 1st Amendment was inappropriate in this case. Perhaps Mr. Justice Thomas's concurring opinion points that out.
Be that as it may, the 1st Amendment does not legitimately apply to the states. Though I know that the court will apply it. Perhaps this would be a good test case for a state nullifying an unconstitutional decision of the Supreme Court.