Dispatches
Essays··8 min read

Madrid's Energy Lawyers Are Counting the Wrong Hours

Spain's largest energy groups have adopted legal AI at scale and published impressive time savings — four to six hours per lawyer per week at Repsol, 300 professionals at Iberdrola. None has published a clause-level error rate. For departments whose most consequential paper is long-dated PPAs and grid connection agreements, hours saved is the easy half of the ledger; the missing half is how often the tool is wrong on the contracts that matter most.

"Replication requires digital PPA contracts in PDF format." That sentence sits near the bottom of a case study Eurelectric published on 4 June 2026, describing how Aelec, the association of Spain's large electricity companies, built a tool to pull terms out of power purchase agreements. It is the least glamorous line in the document and the most honest. The one after it is better still: "Adoption depends on legal and procurement alignment regarding contract standardization."

The headline figure in the same case study is a 50 to 70 percent time saving in analysing contracts and clauses, built on SharePoint, a Databricks environment and Power BI dashboards. Fine. But the authors put the conditions in writing, and every one of them concerns paper, templates and two departments agreeing on what a clause means. The model barely features.

Keep those two sentences in mind, because two of Spain's largest energy groups have spent the past two and a half years putting generative AI into their legal departments, and what they have chosen to publish about it is a measure of hours.

1. What Repsol and Iberdrola have said

Repsol went first. In April 2024 its legal area, which it described as more than 200 professionals around the world, became the first in-house team in Spain to adopt Harvey. The release promised the tool could save "up to three hours a week of repetitive work with little legal content for each lawyer." Harvey's own customer page on Repsol now tells the longer story: a blind test in late 2023 against Microsoft Copilot and an internal prototype called Lexia, an eight-week pilot with 50 lawyers across 12 jurisdictions in January 2024, then a full rollout. The page claims 96 percent adoption, four to six hours saved per lawyer per week, and clause review cut from 30 to 60 minutes to "a few minutes."

Iberdrola followed at larger scale. On 28 September 2026 Harvey announced that the utility is adopting the platform across all legal and tax services of its global business, for more than 300 professionals working "across dozens of jurisdictions," under a five-pillar programme led by the group's General Secretariat. Two days later the Madrid firm ECIJA confirmed it had been selected to implement it. This sits inside a wider push. In August Iberdrola said it was running nearly 500 AI agents, with legal functions named among the corporate users, and that people keep "control over and responsibility for decisions." In July it reported more than 450 AI projects and an AI management system certified to ISO/IEC 42001.

Every number above that describes the legal tools is a vendor number, or a client number published on a vendor's page. Repsol's own release says three hours; the Harvey page, two years on, says four to six. Both could be true. Neither was measured by anyone without a commercial interest in the result, and neither says anything about how often the tool was wrong.

A bank's legal team or a retailer's sees a high volume of short documents. An energy group's portfolio is different in kind. Its most consequential paper is long-dated and sticky: PPAs running ten to twenty years, grid connection agreements, concession and permitting conditions, offtake and hedging terms that sit quietly until a price spike or a curtailment event wakes them up. A clause misread in a non-disclosure agreement costs an afternoon. A clause misread in a fifteen-year PPA, about curtailment compensation or change-in-law, can sit undetected for years and surface as a dispute worth more than the legal department's annual budget.

The rules that govern that paper also move. Germany offers a useful example. Since 1 April 2026 its transmission operators have run a maturity-based procedure for large grid connections, with a €50,000 application fee and a €1,500 per megawatt deposit, replacing first come, first served with what Freshfields' Düsseldorf and Berlin lawyers call "first ready, first served." A change like that sends every in-house team with a pipeline of connection requests back through its files. That is exactly the work these tools are bought for, and exactly where a confident wrong summary does the most damage.

So the question an energy general counsel should ask of a legal AI tool is how often it gets a material clause wrong, on our contracts, and whether our lawyers catch it. Minutes saved is the easy half of that ledger.

3. What the error evidence says

The best independent evidence is still the Stanford study vendors cite least. In May 2024 a team led by Daniel Ho and Christopher Manning ran more than 200 pre-registered legal queries through commercial research tools and reported that Lexis+ AI and Ask Practical Law AI produced incorrect information more than 17 percent of the time, and Westlaw's AI-Assisted Research more than 34 percent. Harvey was not among the tools tested, and the products have improved since. Both are reasons to rerun the test on today's products, with the same rigour.

The industry's newest self-portrait does not settle it either. The Association of Corporate Counsel's 2026 Generative AI Survey, released in London on 3 November, finds that almost 90 percent of European legal teams now use AI, and 28 percent report faster turnaround against 16 percent globally. The same release says 43 percent do not measure tech fluency at all. Faster turnaround is self-reported. No figure in the summary is an error rate.

Here is the comparison I would put in front of a board, built only from what the parties themselves have published:

What is publishedWhat is missingRepsol (Harvey, since 2024)96% adoption; 4–6 hours per lawyer per week; clause review from 30–60 minutes to a few minutesAny clause-level error rate; who measuredIberdrola (Harvey, from Sept 2026)300+ users; five pillars; ISO/IEC 42001 for its AI management systemBaseline before rollout; error measurement for legal outputsAelec PPA tool50–70% time saving on contract analysisAccuracy figures; but states its preconditions (digital PDFs, standardised clauses)

The right-hand column is the one that matters for an energy group, and it is empty in all three rows.

4. The strongest objection, and where it falls short

The sharpest critic of this whole direction spoke in London on 21 October. Raj Panasar, a former City partner who founded LawFairy, one of only two technology-only firms authorised by the Solicitors Regulation Authority, told the Westminster Legal Policy Forum that generative AI is a "systemic risk" to legal services, comparable to a spear-phishing campaign at scale. His line is the one every general counsel should pin above the desk: "A mistake doesn't look like a mistake – it's very, very seductive." LawFairy uses no generative AI. Its system is fully deterministic.

On the diagnosis he is right, and the Stanford numbers back him. Where I part company is the remedy. Deterministic tooling works when the documents are standardised and the questions are known in advance. That describes a well-run consumer legal product. It does not describe an Iberdrola legal function answering regulatory and corporate questions across dozens of jurisdictions, or a Repsol team comparing clauses across 12 countries. Abstaining from generative tools there leaves the work with exhausted associates, who also make seductive mistakes, just more slowly and without a log.

The useful answer to Panasar is measurement. And, read closely, the Aelec case study already contains it: standardise the contracts, digitise them properly, align legal and procurement on clause definitions, and the extraction becomes checkable. A tool whose outputs can be checked against a structured template can be given an error rate. A tool asked open questions about unstandardised paper cannot, and that is where seduction does its work.

5. What I would refuse to sign

My stake is narrow and I would defend it in any boardroom in Madrid or Bilbao. I would not approve the renewal of a legal AI contract at an energy group on the strength of hours saved. Before renewal I would want a sampled, blind-reviewed error rate on the department's own long-dated contracts (PPAs, connection agreements, concessions), split by clause type, measured by someone the vendor does not pay. Iberdrola already holds an ISO/IEC 42001 certificate, which commits it to monitoring and evaluating its AI systems; the legal deployment is where that commitment should produce a number.

The market is moving the other way. On 14 October, Harvey and Legora launched products both called "Intake" on the same day, each pitched as a front door for every legal request in the company. On 6 November Fieldfisher said it would extend Legora to around 1,400 people after a six-week pilot with 137 users. Rollouts are getting wider and faster. The measurement is not keeping pace.

6. Two screens at Méndez Álvaro

Harvey's Repsol page carries one quote from an unnamed lawyer that I find more telling than any of its percentages: "Lawyers have Harvey open on one screen and Word on the other." Picture it on a floor of Repsol's campus at Méndez Álvaro, south of Madrid's centre. On the left, a summary of a long-term supply agreement, produced in under a minute, clean and plausible. On the right, the agreement itself, 140 pages, with the change-in-law clause on page 97 and a side letter, scanned crooked, that amends it. The lawyer has four hours back this week. Her cursor sits in the left-hand window, and the scanned side letter is still unopened in the folder.


Tarry Singh is the founder and CEO of Real AI, an enterprise AI advisory and deployment firm working with global enterprises on production agent systems, model risk, and AI sovereignty strategy. He also leads Earthscan for Energy AI startup, and is a founding contributor to the EU-funded HCAIM and PANORAIMA programmes for responsible AI education across European universities. He writes at tarrysingh.com.

Cartouche
Madrid's Energy Lawyers Are Counting the Wrong Hours · Dispatches, 10 November 2026 · T. Singh