Barcelona has banned Airbnb.
"The decision is designed to solve what Collboni described as "Barcelona's biggest problem" – the housing crisis that has seen residents and workers priced out of the market – by returning the 10,000 apartments currently listed as short-term rentals on Airbnb and other platforms into the housing market. "
https://www.bbc.com/travel/article/20240701-what-does-a-world-without-airbnb-look-like