In Barcelona, restrictions – including a ban on new short-term rental licenses – have been in place for more than a decade.