The Duke of Sussex could face substantial legal costs following the court's ruling in favour of Associated Newspapers.