A costly court ruling yesterday put the spotlight on the terms of the debt deal that Providence Resources struck with Melody Finance late last year, as the Barryroe oil and gas explorer led by Tony O’Reilly Jnr unexpectedly lost a multi-million euro legal dispute with an international drilling company over delays in the Celtic Sea.