The Spanish judiciary recently addressed a high-profile case in which a provincial court judge was penalized for using the artificial intelligence tool ChatGPT at work, highlighting the tension between emerging technologies and traditional judicial procedures.
## Accidental Leak: AI Chat Logs in Draft Ruling
The incident unfolded in a rather dramatic fashion. After using ChatGPT to assist in drafting a ruling, the judge submitted the text to the judicial panel without deleting his conversation and consultation logs with the AI. This oversight not only exposed his use of an unauthorized AI tool for official duties but, more critically, meant that he had input sensitive case information, protected by judicial secrecy, into a third-party AI platform.
The Disciplinary Committee of the General Council of the Judiciary (Consejo General del Poder Judicial, CGPJ) launched an investigation, concluding that the act constituted a data breach and violated the Organic Law of the Judiciary’s article concerning “the disclosure of facts or data known in the exercise of their functions outside of established channels.”
## “Serious Misconduct” and a €1,000 Fine

After deliberation, the CGPJ ultimately classified the judge’s action as “serious misconduct” (falta grave) and imposed a fine of €1,000. This decision came after complex internal discussions. Initially, the promoter of the disciplinary action had proposed a harsher penalty: a 15-day suspension from duty on the grounds of “inexcusable ignorance in the performance of judicial duties.”
However, the majority of the committee members believed that the suspension was too severe, arguing that the judge used AI merely as an “auxiliary and supplementary” tool and did not completely cede judicial judgment to the machine. Ultimately, the fine was chosen as a compromise.
## Internal Disagreement within the Judiciary
This case has triggered widespread and divided discussions within the Spanish judicial system. On one hand, proponents of a stricter penalty argue that the judge’s actions not only compromised data security but also undermined the independence and seriousness of judicial rulings. They worry that a lack of regulation could lead to the misuse of AI, thereby affecting judicial fairness.
On the other hand, the Public Prosecutor’s Office held a completely opposite view, arguing that the judge’s actions did not constitute misconduct and requested the dismissal of the disciplinary file. This disagreement reflects that Spain’s legal community has not yet reached a consensus on how to define and use artificial intelligence in judicial work.
## The CGPJ’s Existing Rules and Future Challenges
In fact, prior to this incident, the CGPJ had already issued clear warnings and guidelines on the use of artificial intelligence in the judiciary. The institution emphasized that AI tools must never replace judges in making rulings, evaluating facts, weighing evidence, or applying the law. Any use of AI-assisted tools must be under the “real, conscious, and effective continuous supervision” of a human judge.
Furthermore, the law strictly prohibits judges from using third-party AI applications that have not been approved by the judicial administration or reviewed by the CGPJ, in order to ensure judicial independence, case confidentiality, and algorithmic impartiality. This judge’s actions clearly violated these regulations, and his case serves as a concrete warning for judicial systems worldwide on how to address the ethical, security, and procedural challenges posed by artificial intelligence.