I'm not Spanish, but I'd like to live in Spain as an expatriate by buying e.g. a 5-6 bedroom flat in Spain, living in one room, and renting the other rooms, as it seems a lot of people are doing that already.
But I heard that it's illegal in Spain for private homes to be let to tourists on a short term basis, and that the government has voted to update the Urban Rental Law (LAU) which will hand regulation of the rental area to the regional authorities.
Therefore, where I can apply for the license, how much can it cost and what's the risk that after buying the property, I won't get a license? One of the estate agencies in Barcelona told me that people normally don't get a short-term license easily.