I wonder why you have been given this advice, you say you”recently ” purchased the apartment. Why was this advice not given before?,also what ages are you’ , If relatively young I would leave things as they are.
10% expenses just about covers it, so not cheap.
Who has given you this advice? A lawyer or an agent looking for some backhanders from interested parties. In Spain people do not work for nothing, money is the new god.