Skip to content
Alonso Sala
CRIMINAL LAWYERS
Legal Analysis

Compliance 2026: The Mandatory Nature of Algorithmic Auditing

January 4, 2026Updated: 

Key Takeaways

  • Algorithmic discrimination
  • Workers' rights crime
  • AI Audit
  • Digital Compliance

In 2026, a hiring or scoring algorithm that systematically discards candidates on grounds of gender or ethnicity can give rise to an offence of labor discrimination (art. 314 CP), but liability attaches not to the machine but to the people who deploy it knowing and consenting to its discriminatory operation. Effective human oversight and a documented algorithmic audit (system inventory, review of training data, bias testing and traceability) are the first barrier against prosecution and the key piece of exculpatory evidence.

Need help with your case? Talk to a criminal defense lawyer at Alonso Sala.

2026 brings full applicability of criminal penalties linked to the EU AI Act. Companies using 'high-risk' AI systems (HR, Banking, Insurance) without proper human oversight face a new landscape of legal risks. What until recently was a purely technical or reputational issue — a biased screening model, an opaque scoring engine — can now end up being examined in a criminal courtroom.

What 'High Risk' Means in Practice

The AI Act reserves its strictest regime for systems that decide on people's access to essential goods: recruitment and personnel management tools, credit scoring engines, insurance pricing models. For these systems, the regulation demands effective human oversight, technical documentation and traceability of decisions. The compliance consequence is direct: a company cannot delegate a hiring or credit decision to a model it does not understand and cannot explain. If the system is high-risk, someone inside the organisation must be able to answer two questions at any moment: how does it decide, and who supervises it. The duty of oversight does not disappear because the software was bought rather than built in-house: the company that uses the system answers for the decisions it makes with it.

Algorithmic Bias as a Crime

Can an algorithm commit a crime of labor discrimination? The legal answer in 2026 is yes — or, more precisely, the people behind it can. If a company uses resume screening software that systematically discards candidates based on gender or ethnicity due to bias in training data, and management knew and consented to this operation, we are facing a crime against workers' rights (art. 314 CP). The algorithm is a tool: criminal responsibility attaches to the people — directors, managers, those responsible for the system — who knew of the discriminatory operation and allowed it to continue. That is why the knowledge element is the battleground of these proceedings: what did management know, when did they know it, and what did they do once the bias became apparent.

Audit Protocol

The Compliance Officer must integrate data engineers into their team. Algorithm 'explainability' is now a fundamental piece of exculpatory evidence in corporate criminal proceedings.

Explainability as Exculpatory Evidence

A company that can produce documented audits of its models — what data they were trained on, what bias tests were run, what corrective measures were adopted and when — is in a position to show that management neither knew of nor consented to any discriminatory operation. Conversely, the absence of any audit trail makes that defence very difficult to sustain: if nobody ever examined the system, the argument that its results were diligently supervised collapses. The practical recommendation for the Compliance Officer is to treat every audit, test and remediation as evidence that may one day need to be produced in court, with dates, signatures and version control. In practice this also means keeping the documentation alive: an audit carried out years ago says little about the model that is running today.

Practical Steps for 2026

A reasonable algorithmic compliance program starts with an inventory: mapping which AI systems the company actually uses in HR, finance and customer decisions, including tools purchased from third-party vendors, which remain the company's responsibility once deployed. The next layer is risk classification and human oversight — defining who reviews the system's outputs and with what real power to override them, because oversight that exists only on paper protects no one. Finally, periodic bias testing and documented review cycles close the loop. None of this makes a model infallible; what it does is place the company and its managers in a defensible position, with evidence of diligence, if a criminal complaint ever arrives.

Frequently asked questions

Can an algorithm commit a crime of labor discrimination?

The algorithm does not bear criminal liability; the people who deploy and maintain it do. If a company uses screening software that systematically discards candidates on grounds of gender or ethnicity due to bias in the data, and management knew of it and consented, there may be a crime against workers' rights (art. 314 CP).

What role does human oversight play?

Overseeing is not the same as signing off on what the machine has already decided: it means that a person with real competence and authority can review the system's decisions, understand why they were made, and correct them or switch off the tool. Purely formal oversight leaves management exposed; effective and documented oversight is the first barrier against prosecution.

What does an algorithmic audit involve?

Translating the logic of compliance into technical terms: an inventory of the systems the company uses and their risk level, a review of the training data where bias usually originates, periodic bias testing, and a documented trail of what was audited, when, with what result, and what corrective measures were adopted.

How does the audit help in a criminal defence?

The algorithm's explainability, the ability to reconstruct and justify each decision, is the central exculpatory evidence: it makes it possible to show that any discriminatory outcome, if it existed, was neither known nor consented to by management. Documented audits establish the company's diligence and dismantle the subjective element of the offence.

What happens if the company detects a bias and does not act?

A company that discovers a deviation, corrects it and keeps a record shows the opposite of the consent required by art. 314 CP. By contrast, one that knew of the reports and kept using the system unchanged will have written the evidence against itself.

Do you need criminal defense in this area?

We are criminal defense lawyers specializing in criminal compliance. We act urgently to protect your rights.

View expertise

Related Articles

View all

Before you act, speak to a criminal defence lawyer.

What you read here is just the beginning. Transform information into active defence by contacting our team of experts.