It's an interesting topic, basically the question is who is responsible for the actions.
A somewhat related topic, an artist created a bot that randomly bought stuff from the darknet, drugs, fake shoes and a passport. But the artist did't get into any trouble.