The Taoiseach has defended public comments he made on RTÉ Prime Time after the Jobstown trial.

He was responding to Fianna Fáil Leader Micheál Martin during Taoiseach's Questions in the Dáil.

Mr Martin criticised the Taoiseach’s comments, saying they added to already low morale the force.

Mr Martin said the gardaí should vindicate the right of people to walk from A to B, but he warned against "cherry-picking various aspects" of cases when they have not been in the courtroom for the duration of the trial.

The Taoiseach told the Dáil he did not condone in anyway the actions of the protesters in Jobstown, and while no one was convicted, the scenes were ugly and violent.

"I was particularly struck by the moment when there was a vote taken as to whether the two women would be detained or not all night. That to me was more like a scene from Lord of the Flies than a scene from a peaceful protest," the Taoiseach said.

Mr Varadkar added that there was a world of difference on commenting on a trial that was over, rather than under way.

He also said there was a legitimate concern about any failed prosecution, whether it was Jobstown or the trial of Sean FitzPatrick, because of the enormous cost of prosecuting a case.

"The very least when a prosecution fails, there should be a review of what went wrong," he added.

Solidarity-PBP TD Richard Boyd Barrett said the Taoiseach was right to raise the case, given the seriousness of the issue.

Mr Boyd Barrett added that the investigation could not be carried out by the gardaí themselves.