The minors were charged with 20 counts of creating child sex abuse images and 20 counts of offenses against their victims’ moral integrity.
The article doesn’t make the claim that the AI is what makes it illegal, simply that AI was used. It’s literally the second sentence. Indeed, it goes on to highlight that there are legal novelties prosecuting the use of AI.