The judge found that the Florida law violated the free speech protections of the Constitution’s First Amendment.