Pošalji tekstualnu poruku: A legal theory for autonomous artificial agents