Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
Is Britain Actually Broke?
3SEP

Madrid court: AI is no ground to dismiss

3 min read
15:29UTC

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.

EconomicDeveloping
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
The fiscal hawk case
The fiscal hawk case
Borrowing has run over the March plan for four months, October's £11.2bn interest bill was the highest October since 1997, and the OBR's ready reckoner adds £8.6bn of interest in 2027-28 for each lasting point of inflation. Hawks argue £15bn of headroom leaves little room for another shock before taxes rise again.
The not-broke case
The not-broke case
HMRC receipts are up £33.4bn on a year earlier, the current budget is about £0.5bn under the March plan, GDP grew 0.7% in the third quarter, and the OBR calls borrowing broadly in line. On this reading Britain is paying more to borrow while its power to raise money holds.
Ministry of Housing Communities and Local Government
Ministry of Housing Communities and Local Government
The housing ministry gave English councils over £80bn of core spending power for 2027/28 on 26 November, over £3bn more, and kept Exceptional Financial Support only on a temporary footing with outside checks on the books. A council in trouble can still get help, but not open-ended help.
National Institute of Economic and Social Research
National Institute of Economic and Social Research
The independent forecaster said on 19 November that policy is pushing households out of cash, most recently through the Budget's higher tax on savings interest, and that this alone will do little for UK firms. On October's inflation it found energy the main driver, with little sign of a wage-price spiral.
Resolution Foundation
Resolution Foundation
The centre-left think tank said on 17 November that real pay growth, 0.2% in July to September, will go negative this winter as inflation heads towards 5% by spring. On its reading, household budgets tighten while the Treasury's tax take grows.
Bank of England
Bank of England
The Bank said on 26 November that about 6.5 million mortgages face higher payments as fixes end, by about £100 a month for a typical borrower, but arrears are close to their long-run average. It judged the banking system well capitalised, so lenders can absorb the squeeze without pulling credit.

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