The Ventura County Star reports the federal lawsuit was filed Friday on behalf of five registered sex offenders, three of their spouses and two of their children. It alleges the ordinance passed by the city of Simi Valley violates the First and 14th Amendments because it “suppresses and unduly chills protected speech and expression.”

The ordinance requires the offenders to post signs on their front doors saying, “No candy or treats at this residence.” It also bars them from displaying Halloween decorations or having exterior lighting on their property from 5 p.m. to midnight on Oct. 31.