An AI will help a man to plead in court