I'm not a lawyer, but as I understand it, the states' justifications aren't important to this appeal. The decision that "the FCC is not able to, essentially, remove state laws that prevent the construction of municipal broadband networks" (from the article) doesn't say anything about the legality of the state laws, just that the FCC doesn't have the authority to change them.