AI wins legal case in Britain