Most of the cases I've seen of hostile design aren't about people using it to the exclusion of others. Many underpasses are now filled with rocks to prevent homeless from setting up camps in them, even though there's little to no demand from the general to access underpasses. Nighttime skateboarders don't prevent pedestrians from accessing business districts, but skatestoppers are installed regardless to prevent wear and scuff marks that would look bad.
I think that is two different instances of hostile design for different purposes. For parks, which are for public use, it's to make sure the resources are available for everyone. For underpasses, it's to prevent people from congregating in hidden and mostly lawless (because it is hidden) areas which contribute to more problems (drug use, assault, theft, etc).
This too can be examined under the same lens. If we had additional funding for police, or even just maintenance personnel to keep people from congregating in those locations, then we wouldn't need hostile design to take up that task.
The design features to prevent birds from roosting in overhangs is the same. Labor is expensive, physical impediments are relatively cheap in comparison, so even if ugly and problematic in other ways, they end up being used.