AI law firm secures first UK victory