As society changes, it’s reasonable for a court to re-examine the effects of previously decided legislation to gauge whether the impact and societal cost can be justified.
It’s not like we don’t have other laws that restrict what we can do or where we can do it.