This is the most fundamentally important question of AI-related law, and nobody knows the answer as it hasn't been tested by any court AFAIK (at least not in the US).
We already know the tribunal will take AI's side, not because of any justice or ethical reason but because of capitalism. They will interpret the law as saying whatever they want the law to say.