Lol, how is any of this illegal?
Illegal or not requires context that an LLM can not ever have, like if it is owned by the user, if there is permission, etc.