Textmeddelande: A legal theory for autonomous artificial agents