Doesn't have to be local laws, it just has to be condo association rules or unit leases. Most people buying a condo don't want transients coming in and out of their building on a regular basis.
The idea that someone is entitled to turn their rental unit or condo into a hotel is absurd and extremely selfish / self-centered.
Maybe in a condo, but what about in a single family home in a vacation area?
We have used VRBO as owners and as renters. For both, minimal rental we looked for was one week.
Interesting situation in Sedona, Arizona. They had banned rentals shorter than 30 days under the guise of short rentals were "causing problems" with noise, trash, etc. We had rented for quite a few years, and never saw any of the neighbors of the houses we rented, we never bothered anyone, and took care of our trash. Arizona recently passed a state statute ruling all such local ordinances illegal, as the state wants to promote tourism and free alienability of property.
Now the homeowner associations are stepping in to "outlaw" rentals shorter than 30 days under the same bogus arguments. In Belmar, many years ago when Ken Pringle was mayor, he and the town encouraged weekly rentals over summer season rentals because weekly renters were typically families with children. He was right. We converted to weekly rentals around 2001 and have not looked back. We are booked solid from Memorial Day through the end of September, and we have NEVER had an issue with unruly tenants. Our neighbors who are full time residents have complimented us several times on how our renters are all "good people", and they like meeting our renters.
I can see the homeowner association side of it, but frankly think that unless there has been a demonstrated persistent problem with noise, trash, etc, these types of issues can be dealt with for issuing summonses for violation of noise and trash ordinances. Arizona had a huge foreclosure problem through about 2010, and many houses went into foreclosures--the yards were not maintained, and there were rodent problems. A house that is rented is generally kept in better condition because the owners want to make it attractive to renters.