In same way as is done so successfully with guns, speeding automobiles, etc?
These things are capable of inferring photorealistic av deepfakes; with a well drafted law they're more than capable of inferring if what they are being asked to is illegal.
It makes zero sense to wait for the poop to hit the fan and then waste taxes investigating the illegality, punishing criminals, and dealing with impact on victims when it can stopped at source.
This is a law that will be used to censor.
More interesting question: if the Twitter app is made available through the Apple App store, then would famous Irish-based multinational company Apple be liable as well?
As a Christian, pornography is clearly sinful and harmful. But if you wish to use your free will to partake in it, then you do you. Non-consensual pornography (which is what this is about) causes harm to another person, which is why it cannot be tolerated.
This should be obvious IMO.
Though the framing on Grok is highly duplicitous. It is against the ToS, and it's about a few abusers among millions of legitimate users. Meanwhile there are actual "nudification" services which advertise themselves entirely to enable this kind of abuse.