On the Law: Use of artificial intelligence in court