Artificial intelligence and the Law