Legal and Ethical Challenges of Artificial Intelligence from an International Law Perspective