What stops people from releasing unwanted puppies in to the wilds/streets?
Here in Norway they will be captured, and the police will handle them[1].
If the owner does not claim the captured dog within a week, the police will find a new home or shelter[2], or put it down.
[1]: https://lovdata.no/dokument/NL/lov/2003-07-04-74/KAPITTEL_3#...