A man who had a murder charge dropped by the Special Criminal Court was immediately arrested by gardai and charged with the offence again at Dublin District Court.
The charge against the Dublin man due to stand trial at the non-jury Special Criminal Court for the murder of Noel 'Duck Egg' Kirwan had earlier been struck out.
He has since been remanded in custody.
Jason Keating was told by presiding judge Mr Justice Tony Hunt that he was "free to go" after an application by the State, but gardai arrested the 26-year-old as soon as he left the courtroom.
Mr Keating, of Lower Main Street, Rush, Co Dublin, has been recharged with the murder of Mr Kirwan (62) outside his house in St Ronans Drive, Clondalkin, Dublin 22, on December 22, 2016.
The 62-year-old, a friend of Gerry 'The Monk' Hutch, was sitting in a car when he was shot several times.
He was the 10th person to die in the Hutch-Kinahan feud, which has so far claimed 12 lives.
His partner was in the passenger seat but was not injured in the shooting.
Earlier, State solicitor Rioghnach Corbett told the three-judge court that her application was to have the charge struck out.
Counsel for Mr Keating, Giollaiosa O Lideadha, said he understood there was some difficulty with the certificate and charge sheet which were initially before the district court.
Last week, the State made an application for Mr Keating to be tried before the Special Criminal Court.
The DPP can direct that an accused face trial in the non-jury court if it deems "the ordinary courts are inadequate for effective administration of justice".
Mr O Lideadha told the court he also understood that it was the intention of the prosecution to "restart proceedings" against his client.
This happened straight away and Mr Keating was then charged at Dublin District Court and remanded in custody.
On May 8, Mr Keating was brought to Blanchardstown District Court under armed escort charged with the murder of Mr Kirwan.
Det Sgt Damian Gannon told the court at that hearing that Mr Keating made no reply to the charge after caution.
Legal aid was granted and he was remanded in custody.
A woman in her 20s who was also arrested in connection with the investigation has been released without charge and a file will be prepared for the DPP.