The argument that producing this material caused harm always made sense but when it came to stories and loli anime drawings, it never made sense.
Back in the 2010s when Germany started censoring DNS with csam sites (of which 99% were false listings) I attended a protest and got to talk to a policeman who talked about the methods they use to catch producers by looking at background sounds, unique identifiers on both perpetrator and victim (tattoos, scars, etc), where light came from, where shadows landed, visible products in the background that might help triangulate possible locations or narrow down to country/city/etc.
I don't see why police wouldn't have to keep doing their job to get to hunt down predators.
Making generated content outright illegal doesn't align with my understanding of free speech.