SCOTUS explicitly avoided ruling on this justification, and it seemed at argument that even some of the conservative justices were uncomfortable with the free speech implications of it.
So I read it like they didn't interpret this as a free speech issue at all.