The judge says the city cannot require convicted child sex offenders to post signs outside their homes during Halloween that say "no candy or treats at this residence."
However, they are still banned from decorating their homes or opening their doors to trick-or-treaters. They also must turn off outdoor lighting from dusk to midnight on Wednesday.
The decision comes after a group of sex offenders and their wives sued the city claiming the recently-passed law was unconstitutional.
A full hearing will be held next month.