Judgment 864/2026 of the Social Chamber of the Tribunal Superior de Justicia de Madrid (the High Court of Justice of Madrid), handed down on 8 October 2026, has been read as the ruling that says whether artificial intelligence can justify a dismissal. Read in full, it says neither yes nor no: the court makes no finding on AI. This piece sets out what reached the court, what it decided and what the file contains that does matter to an organisation that governs its AI.
The case, in five dates
A video game company told its staff on 30 October 2024 that it would start a collective redundancy procedure. The consultation period, which began on 15 November 2024 with thirteen people affected, closed with an agreement on 3 December 2024. The dismissal letters were served on 5 December 2024, effective 16 December. The first-instance judgment is dated 12 March 2026, and the appeal judgment 8 October 2026.
Two employees brought their claims together. Their letters did not say the same thing.
Two different letters
The 3D animator's letter did refer to AI. It justified reorganising the art team on the grounds that AI-generated images improved visual quality and cut the work time per scene, and concluded that a new production process based on the use of AI was needed, with fewer people in the 3D team.
The scriptwriter's letter did not refer to AI. It reduced the design team because, in its words, only one scriptwriter was needed since the stories being written were increasingly short and simple; far fewer new games were being developed and much of the time went on reviewing games whose scripts were already written.
The first-instance judgment held the animator's dismissal fair and the scriptwriter's unfair. The appeal judgment reproduces that ruling, but not why the first-instance court drew the distinction, and this piece does not assert it either.
What reached the court
In the judgment's words, the appeal was brought only by the scriptwriter. The appeal sought a declaration that the dismissal was null and void, not merely unfair, with compensation for non-pecuniary damage. To that end it asked for two proven facts to be revised and alleged three infringements: lack of good faith during the consultation period, fraudulent conduct by the committee that negotiated for the staff, and breach of the protection against retaliation, because of a claim the appellant had brought against the company months earlier.
The animator's dismissal, the one that relied on AI, was not appealed. None of the questions before the court was whether AI could justify a dismissal.
What the court decided
It refused to revise the facts, because the documents relied on were not fit for that purpose or were the same ones already assessed at first instance. It rejected the lack of good faith, because there were proposals, counter-proposals and an agreement. It rejected the alleged fraud by the committee, because it rested on facts that had not been proven, and because the agreement was reached on a proposal made by the staff's own representatives and endorsed by the workers. And it rejected the breach of the protection against retaliation, because nine months had passed between the employee's claim and the redundancy procedure and the company justified why it kept another scriptwriter.
It dismissed the appeal and upheld the first-instance judgment in full: the scriptwriter's dismissal remains unfair, not null and void. An appeal for the unification of case law lies against the judgment, so it is not final as of 6 November 2026.
Why another version is circulating
Because AI is in the judgment, though not in what the court decides: it appears in the facts proven at first instance, which the appeal judgment transcribes, and in the letter that nobody appealed. A summary that moves from the animator's letter to the court's ruling joins two things that the text keeps apart. Before citing a judgment, it is worth reading what the court was asked.
What does matter to anyone governing their AI
The grounds for the collective redundancy were assessed with dated documents. According to the facts proven at first instance, the file contained the annual accounts for 2023 and 2024, with losses in 2024; an expert report on the financial position; the notice of insolvency filed with the commercial court on 29 October 2024; and the Labour Inspectorate report of 2 February 2025, which concluded that the economic, organisational and production grounds put forward existed.
The decision to use AI tools was not proven by a document. The proven fact that records it — that the company decided to use them to improve visual quality and reduce the time spent on design tasks — refers to the testimony of a witness, the head of the design team.
That did not change the outcome of this case, and there is no way to know whether it would have changed another. But it describes a gap that an organisation can close without waiting for any litigation: making sure the adoption of an AI tool leaves a written, dated record. Which tool, since when, for which task, what changes in the process and who decided it. It is what a well-kept inventory of AI systems requires, and what separates evidence from a ticked box.
If the tool decides, or helps decide, about members of staff, that same record feeds the information already required by Article 64.4(d) of the Estatuto de los Trabajadores towards the workers' legal representatives and by Real Decreto 723/2026 towards each worker. The tool in this case generated images, and the judgment says nothing about those obligations.
What this piece does not cover
Whether a dismissal following the adoption of AI is fair or not. That is a question of employment law that depends on each case, and Alethexis does not advise on employment law.
Article 22 GDPR and Regulation (EU) 2024/1689. The judgment does not mention them.
The full guide to organising the inventory, owners and evidence: the AI governance guide for SMEs.
Content in accordance with Judgment 864/2026 of 8 October of the Social Chamber of the Tribunal Superior de Justicia de Madrid (Roj: STSJ M 12114/2026), not final as of 6 November 2026.
This article is for information purposes only and does not constitute legal advice.