A man who falsely accused Louis Walsh of sexually assaulting him will be sentenced on 25 January.
Leonard Watters, 24, from Navan in Co Meath told the court he wanted to sincerely apologise to Mr Walsh for what he put him through.
He said the allegation he made against him was false.
He agreed with his solicitor, Cahir O'Higgins, that he categorically withdrew the allegations and that he was completely wrong about Mr Walsh.
He also pleaded guilty to two counts of making false reports to gardaí.
Judge Dermot Dempsey said he was commissioning a probation and welfare report on Watters.
He said he was considering a custodial sentence having regard to the gravity of the matters.
The maximum sentence for each charge in the district court is a fine of €634 and/or 12 months in prison.
Earlier the court heard that on 9 April this year, Mr Watters had been socialising with friends in Dublin and met Louis Walsh and others.
They later went on to Krystle nightclub on Harcourt Street.
At around 4am he approached a garda on the beat on Harcourt Street and made the allegation of sexual assault.
He was taken to the Mater Hospital to be examined, repeated the allegation to a nurse and doctor there and repeated it again to gardaí at Mountjoy Garda Station.
He made two statements to gardaí, one on 20 June and one on 27 June.
During the course of the second statement he was told that CCTV footage from the nightclub did not support his allegation and he admitted that it was false.
His solicitor told the court that his client was a father of two children and came from a respectable family which was traumatised by what had happened.
He said Watters had rendered himself something of a pariah in his community where he was now seen as a "Walter Mitty" type fantasist and a liar.
Mr O'Higgins said Watters had suffered a very severe burning injury when he was 12 or 13 and had received a very large award.
However he said he had worked his way through the money staggeringly quickly.
He said Watters was fragile, vulnerable, and a little bit shaky psychologically.
He has two previous convictions - one for breaching a court order and one for having no insurance or driving licence.
Mr O'Higgins said Watters maintained he had been assaulted on the night in question but not by Louis Walsh.
He said he was anxious to apologise publicly to Mr Walsh.