A court opinion stated that a key provision of the law was too overbroad.