At iBestuur’s AI & Overheid conference on November 12, the Dutch Data Protection Authority (Autoriteit Persoonsgegevens, AP) said something striking about code. Software written largely with AI tools such as Claude Code “can itself count as an AI system”, iBestuur reports about the presentation (in Dutch; the translations here are mine). Even if it is just a web form. If your IT department leans on such tools, then according to the AP almost everything it produces quickly becomes AI.

My first reaction was that this is a category error. A highway built with an asphalt paver is not a vehicle, and the A2 does not need an annual vehicle inspection. But I don’t get off that easily. Arnoud Engelfriet, tech lawyer at ICTRecht, finds the conclusion against the spirit of the AI Act and added: “cannot find legal reasoning”. So here is an attempt by a non-lawyer. I’ll start where I think the confusion starts.

Where the confusion starts

Training is looking for a pattern in data. What comes out is called a model: a decision tree with thresholds, for example, or a language model. Output is what the model produces when you then use it: input goes in and a decision comes out, or a text, or a piece of code.

model output data train decision tree use decision input: a new case data train language model use code input: a prompt AI system: a model in use not an AI system

So there are two steps. Engineers call only the second step inference. Recital 12 of the AI Act counts both as the “capability to infer”: obtaining outputs, and deriving models or algorithms from data. That is where the confusion starts.

What the AI Act says

According to Article 3 of the AI Act, an AI system is a system that “infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions”. That is a model in use: input goes in and the system infers what should come out. So output is in the definition itself, as something an AI system makes. It does not say that what comes out is an AI system too.

Recital 12 says the definition should distinguish AI from simpler traditional software, and should not cover systems based on “rules defined solely by natural persons”. So that exception is worded in terms of who defined the rules, not in terms of what the system does. That comes back to bite later.

The decision tree

The AP’s example is a decision tree trained on historical data. In production that is a list of if-statements that no longer learns anything. Still it falls under the AI Act, says the AP.

That is right. The tree is a model, the middle of the top row. Deploy it and you have a model in use: a new case goes in and a decision comes out. That it no longer learns does not matter. According to the definition an AI system “may” exhibit adaptiveness; it does not have to.

Output is not a model

Then the step to code. According to the AP, a system “developed with the help of data inference” qualifies as an AI system. In that reading, code from an AI tool was developed that way, so the product is an AI system too.

That is where it goes wrong. The AP sees that something was inferred while the code was being made and treats that as the first step, training. It was the second step, use. The language model had already been trained. It got a prompt and gave output.

Look at the two rows. The code is on the right, in the same place as the decision of a decision tree. Nobody calls that decision an AI system. A letter from a chatbot isn’t one either, and neither is a generated image. In the definition, code falls under content: something an AI system generates.

But code runs, and a letter doesn’t. True, and then that code has to meet the definition itself. Is it a model in use? A web form is not. It executes what is written. Who or what typed the code changes nothing about that.

The exception turned around

According to iBestuur the AP added: “Only rules drawn up entirely by humans fall outside it.” That turns recital 12 around. The recital says that systems with human-defined rules are not AI systems. It does not say that everything else is. Whatever falls outside an exception still has to meet the definition itself.

And to complete the confusion: linear and logistic regression. Those are models, and according to the AP they fall under the AI Act “in principle” as well. The European Commission’s guidelines list them as an example of what falls outside it.

Two decision trees

Since it started with a decision tree, here are two.

According to the AP Was it developed with the help of data inference? yes no AI system Were all rules drawn up entirely by humans? yes no Are you sure? (autocomplete, Stack Overflow, the colleague who asks ChatGPT everything) yes no not an AI system AI system AI system
According to me Was it developed with the help of data inference? yes no Are you deploying the model, or the output of that model? model output AI system unless it is regression: not according to the Commission, but according to the AP not an AI system unless a model runs inside it again not an AI system test it anyway

These decision trees were not trained on data. They were typed out by a language model, so according to the first tree this blog is now an AI system.

The same form

The AP gives an example itself: a form that helps determine which patients are admitted or how long they have to wait. Built with AI tools, that would be high-risk. If a colleague types the same code by hand, it is ordinary software in that reading. The form does exactly the same thing in both cases, and the patient does not notice the difference. It works the other way around too: a decision tree you train with pen and paper and then put into code is still a model.

I share the concern behind it. The AP says that precisely in this kind of application errors creep in easily, at people’s expense. That is true, and tests and review help against it. It is also true for the form someone puts together by hand on a Friday afternoon.

Conclusion

An AI system is a model in use: input goes in and the model infers what the output should be. A decision tree that assesses cases is one. An AI tool that writes code is one too. The code that comes out is output. It only becomes an AI system itself if a model runs inside it again, and no model runs inside a web form.

The AP is right about the decision tree and takes that line one step too far. Whether something is an AI system depends on what the software does, not on who or what wrote it.

From December 2027 the obligations for high-risk AI apply. It would help if by then it is settled that they are about models, and not about everything a model once typed out.