I have an apartment in Barcelona and I have a listing to rent a room and here the city council in Barcelona are not giving any tourist license to be able to rent legally.
Do you have any idea if I can keep on renting just a room in my apartment without getting problems later on?
As your listing is in Barcelona, you may find there are more Hosts in the Spanish language Community Center who might have some experience with navigating these regulations.