Pursuant to article 22.6 General Statute on the Spanish Legal Profession (Estatuto General de la Abogacía Española or EGAE), lawyers could disclose data, documents, communications and information protected by professional secrecy, provided that they are expressly authorized by clients and the information disclosed only refers to the authorizing client. However, it is the lawyer who will ultimately decide whether or not to disclose them, since professional secrecy is also a right of the lawyer. Where the lawyer is requested by the court to disclose documents and is expressly authorized by the client to do so, the lawyer must comply.
On the other hand, since professional secrecy must be observed not only with respect to a client's information, but also with respect to information pertaining to the other party or any third party, when knowledge of such information is gained as a result of the professional activity of the lawyer, a client's authorization may not be sufficient to release the lawyer from their obligation. Therefore, professional secrecy must be observed with respect to the information relating to the other party or third party, despite any authorization that the client may have granted.