Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
Iran Conflict 2026
30MAR

Madrid court: AI is no ground to dismiss

3 min read
08:00UTC

Madrid's regional high court has ruled that introducing AI is not on its own a ground for dismissal; an employer must prove AI's effect through Spain's existing four causes.

ConflictDeveloping
Key takeaway

A Madrid court requires employers to prove AI replaced a dismissed worker's tasks.

The High Court of Justice of Madrid has ruled that bringing in AI is not, on its own, a ground for dismissal under Spanish law⁠1. Its judgment 864/2026, dated 8 October and made public this week, says an employer must prove AI's effect through the four causes the Workers' Statute (Spain's main employment law) already lists: economic, technical, organisational and production. "La implantación de IA no constituye una quinta causa de despido," the court's employment chamber held: introducing AI is not a fifth cause of dismissal.

The case began with a collective redundancy (an ERE, Spain's procedure for group layoffs) at a video-game studio the court did not name. The court upheld a lower ruling that one worker's dismissal was unfair, because the company had not shown that the AI tool replaced that worker's tasks⁠2. No party appealed a second dismissal, which the original trial court had ruled fair.

The ruling moves the burden onto evidence: an employer in Madrid that says AI did the job has to prove the tool took over that worker's tasks. UGT (Unión General de Trabajadores), one of Spain's two largest union confederations, counts 10 large collective dismissals in Spain linked to AI, affecting at least 6,711 people; any of them challenged in court could face the same test. A Spanish court ruled on algorithmic employment decisions in July, and the call-centre firm Concentrix's cuts in A Coruña went through on negotiated terms.

The ruling binds this case, and only Spain's Supreme Court can set national doctrine. Employers can still dismiss on technical or organisational grounds when they prove them, so the judgment raises the bar of evidence without barring AI-linked layoffs.

Deep Analysis

In plain English

In Spain, an employer can only dismiss workers for reasons the law lists: economic problems, technical changes, changes to how work is organised, or changes in production. A regional appeals court in Madrid looked at a case where a company said it cut jobs because it had brought in AI. The court said AI is not a separate reason of its own. A company that blames AI must prove, under one of the existing reasons, that the technology really changed the work. In this case the company had not shown that, so one worker's dismissal stayed ruled unfair. The ruling applies to this case; only Spain's Supreme Court can set a rule for the whole country.

Deep Analysis
Root Causes

Spanish dismissal law lists a closed set of grounds. A new technology cannot create a new ground; it can only be evidence for an existing one, and the court applied that structure.

Collective redundancies in Spain run through a formal procedure that requires the employer to justify the cuts. That makes the stated reason a matter of record that workers can challenge.

Unions are already contesting AI rationales. The CCOO confederation disputes Capgemini's AI justification for a 748-person collective dismissal, a case that could now meet the same evidential test.

What could happen next?
  • Precedent

    Spanish employers citing AI in collective dismissals now face an appellate ruling requiring proof of the tool's effect on the work.

    Short term · Assessed
  • Risk

    Employers may avoid naming AI and rely on organisational grounds, making AI-linked cuts harder to track.

    Medium term · Suggested
  • Consequence

    A Supreme Court ruling would be needed to make the test binding across Spain.

    Long term · Assessed
First Reported In

Update #22 · Central banks see AI before payrolls do

GCLEX· 6 Nov 2026
Read original →
Causes and effects
This Event
Madrid court: AI is no ground to dismiss
Employers in Madrid that blame AI for layoffs can expect to prove, worker by worker, that the tool replaced the tasks.
Different Perspectives
Israel Defense Forces
Israel Defense Forces
The IDF said it struck a weapons shipment for Hezbollah near Janta on 16 November and a former Hezbollah missile site there on 19 November because operatives had returned. It says the strikes sit within its ceasefire with Lebanon.
Yahya Saree, Houthi military spokesman
Yahya Saree, Houthi military spokesman
Saree claimed strikes on Petroline's pumping stations on 10, 11, 12 and 13 November, none confirmed by Saudi Arabia, and denied the coalition's account of interceptions over Mecca. The Houthis present their attacks as retaliation for Saudi air strikes.
Kuwait, in a letter to the IMO
Kuwait, in a letter to the IMO
Kuwait wrote to the International Maritime Organization about attacks on eight of its tankers and told Iran to stop. Its letter puts a Gulf producer's own fleet losses on the IMO record beside the GCC's claim at the Security Council.
Oman's Foreign Ministry
Oman's Foreign Ministry
Oman hosted Araghchi in Muscat on 17 November and condemned attacks on Bahrain and on Saudi facilities without naming an attacker. Muscat keeps a channel to Tehran open while standing with its GCC partners.
International Energy Agency
International Energy Agency
The IEA's 13 November report found world supply above demand, with Gulf crude exports back to 82% of pre-war in October. It also put stocks on land at their lowest since at least 2016, with October's 52 million barrel build all on tankers.
Abu Taleb al-Saidi, Kataib Hezbollah
Abu Taleb al-Saidi, Kataib Hezbollah
Al-Saidi said on 17 November that Kataib Hezbollah would not leave Jurf al-Sakhar, three days before Baghdad's deadline. The group denies the oil-smuggling allegation, and a forced entry would pit a Jurf command that includes two PMF brigades against a PMF faction.

Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Editorial standards.