The historical minimum seems to check out, only 1.52% of houses are empty (13k compared to 80k in 2011): https://www.20minutos.es/noticia/3299445/0/barcelona-detecta...
Also, less than 500 in 237657 were illegal touristic lodgings, so it seems Airbnb and such can't be blamed either.