AI-powered smartphone app will help defend a speeder in court next month