When buying a home you need a “registered” lawyer in Spain for the following reason:
A notary in Spain simply makes the deed but does not control anything in terms of legality, debts, etc …..
Before signing the deed, the notary must receive the following documents from your lawyer and check for validity:
Ownership certificate, energy certificate, documents confirming that the house is debt-free in the area of loans, electricity bills, water consumption, Suma (municipal taxes) and that a valid habitability certificate can be presented and legality certificate of the Land Registry with regard to possible illegal or not yet regularized renovations, outbuildings and / or swimming pool.
These cases are all the time checked by a registered lawyer and must be submitted the day of the execution of the deed at the notary.
This is a legal requirement in Spain now.
The lawyer loses his license in case of non-compliance with this law. (That’s why you have to take a registered lawyer!)
The stories that - still - do the round of abuse / scams are either from before the crisis ... so some 10 years ago ... or from people who did not have a lawyer under their arm.