They are freeing up ~10,000 houses over the next four years with this legislation. Barcelona built ~15,000 new properties between 2011 and 2020.
The math don't math. It's a drop in the bucket. The entire impact of AirBnB + all housing built in the last decade does not offset the last half decade of population growth.
Housing must be built more quickly than your population is growing to keep prices down, or you must concede that you live in a nice area where people wealthier than you wish to be and that those people are going to gentrify the area and displace locals. It's an unpleasant reality of the world.
EDIT: some good feedback in the responses. thanks! I'm being a bit dramatic by saying it's just a drop in the bucket, this action frees up more housing than was built over the same timespan, and it's possible to have effects on pricing greater than what would be inferred by the raw numbers because economics is tricky. cheers.
The population growth is largely due to rich foreigners moving into the city:
"I was born and raised in Barcelona, no longer live there however. I didn't remember how bad it was until I went to visit my family last summer. Me and some friends went to walk around the center and the girl that took our orders at a Pans&Company didn't even know Spanish or Catalan, only English. It was honestly quite depressing. She was surprised we didn't open the conversation with English."
https://www.reddit.com/r/askspain/comments/1833ub1/comment/k...
https://www.thestar.com.my/lifestyle/travel/2023/10/09/fed-u...
People say that it has become difficult to hear Catalan or Spanish being spoken in the city center and there are waitresses who don't know Spanish. Some started to say that this is not a case of gentrification, but a colonization.
I've lived here for more than a decade, I'm not native Catalan or Spanish and never experienced any xenophobia from anyone here.