I've used this example (CSAM-making AI models) as an illustration of the difference between ethics and morals many times. It would be theoretically ethical to use these models. It would, however, be immoral. Since governments are allergic to morality these days, it's going to get a lot worse before it gets better.