Most of RTÉ's report on businessman Denis O'Brien and his financial affairs with Irish Bank Resolution Corporation can be broadcast, following a ruling by the High Court today.

Parts of the report, which refer to legal advice received by the bank, cannot be broadcast as they are still covered by an injunction granted to IBRC against RTÉ in May.

Last week, the High Court refused an application by RTÉ to lift the injunction in its entirety following remarks made in the Dáil by Independent TD Catherine Murphy and Sinn Féin TD Pearse Doherty.

However Mr Justice Donald Binchy agreed his order could be varied to reflect what was said in the Dáil.

Read: Denis O'Brien sought more time to repay IBRC loans

Lawyers for Mr O'Brien said they were no longer opposing the publication of the script of the proposed report by RTÉ's Business Editor David Murphy.

However, IBRC continued its objections to those parts of the script it said referred to legal advice.

RTÉ agreed that one paragraph of the script should not be published, but argued that the issue of legal advice was already in the public domain due to remarks made by Mr Doherty in the Dáil.

Judge Binchy ruled there was a difference between what Mr Doherty said in the Dáil and what was in the script and ruled the paragraph objected to by IBRC should not be published.

The judge made no order in relation to the costs of the court proceedings brought by RTÉ after the original injunction was granted, meaning each side must pay its own costs.

RTÉ returned to court to seek clarity on the scope of the injunctions following the remarks made by Ms Murphy in the Dáil.

The judge said events had occurred that had changed the dynamic and some of the rationale behind his original ruling and neither RTÉ nor Mr O'Brien could be faulted for that.

He said he quite understood why RTÉ had brought the application it did and why Mr O'Brien's response had been evolving and changing up to the last minute.

He said making no order as to costs would be the fairest way of dealing with the issue.

Lawyers for IBRC said RTÉ should not be constantly returning to court seeking pre-publication clearance for its reports.

However, Mr Justice Binchy said the alternative would be RTÉ running the risk of IBRC coming back in to court claiming that RTÉ had breached the orders made.

The costs of the original injunction proceedings heard in May have been reserved, until a full hearing of the issue.