It could have the unintended consequence of making it harder to actually catch those who commit sexual offenses because they won't have ties to the community. They'll be like a shark biting someone close to the beach and disappearing into the ocean.
They might, even though it may not be legal, be able to effectively keep everyone out. It's a sophisticated way to keep sex offenders out of the city.