A judge has been forced to send a serial burglar to another court for sentence after hearing that the man had previously broken into his house.
Vincent McNally, 32, was due to be sentenced by Judge Martin Nolan.
However, his defence counsel told him it may be best for another judge to deal with it.
"Are you saying Mr McNally burgled my house?" the judge asked, adding that he had been burgled twice in the past.
The defence replied that this was the case.
"I'll send him to a court that's less prejudiced," Judge Nolan joked before sending McNally to Judge Patrick McCartan's court.
McNally, of The Court, St Anne's Park, Shankill, Dublin, pleaded guilty at Dublin Circuit Criminal Court to three burglaries in the Shankill area in February 2014.
He also admitted possession of gloves with intent to commit burglary in Shankill on 28 April, 2014.
He has 54 previous convictions - 24 for burglary, one for robbery, one for aggravated burglary, one for theft and one for handling stolen property.
Judge McCartan later described McNally as "a serious committed criminal" and remanded him in custody pending sentence until 25 May to allow for him to be assessed by the Probation Service.