O’Connor, now 23, of Baggrave Hall Road, Hungarton, pleaded guilty to carrying out a sex act with a child.
The court heard that a trial at Leicester Crown Court in May 2018 had to be stopped after one of the principal lawyers fell ill and could not continue in the case.
O’Connor faced charges of rape, sexual assault and assault by penetration.
A new trial was set at Leicester Crown Court but was then transferred to Birmingham Crown Court, in March this year.
At that trial hearing, the prosecution were accepted a guilty plea from O’Connor to the charge of committing a sex act with a child.
His honour Judge Martin Hurst told O’Connor he was not sending him to jail.
He said: “You say you were not drunk which means you were sober enough to know how wrong it was to have sexual intercourse with a complete stranger you knew perfectly well was only 15 years of age.
“I just hope you go on to make your parents proud in the way it is set out in the letters I have received from them.”
The judge gave O’Connor an 18-month prison sentence suspended for two years.
He ordered him to go on a sex offenders programme and to carry out 200 hours of unpaid work.
O’Connor, who will be registered as a sex offender, was also ordered to pay £1,000 costs.
He was found not guilty of rape, sexual assault and assault by penetration.