A man who has the same name as his brother spent a week behind bars while gardaí verified his story, a court has heard.
The case was so confusing, even the judge hearing the case decided it was better to give the two men numbers to identify them - just like the brothers' parents had done.
Barrister Kathleen Henry told Judge Paul Kelly at Letterkenny District Court that the man before the court was Gheorge Bot (43), from Shercock Road, Bailieboro, Co Cavan.
She said the man who should have been before the court is his brother - also called Gheorge Bot (42), from The Willows, Carrickmacross, Co Monaghan.
The younger brother is now facing charges of driving carelessly in Letterkenny last June and driving a car without an NCT certificate.
However, the older brother had originally been charged with the offences.
The older brother was arrested on a bench warrant and jailed for seven days.
Ms Henry said the brothers were named after their father in Romania.
She said they were often referred to as 'Gheorge One' and 'Gheorge Two'.
"Unfortunately, my client Gheorge One has spent a week in Castlerea Prison as a result of the confusion," said Ms Henry.
"The brothers were named after their father, also called Gheorge.
"We are asking that the charges are put to Gheorge Two," she added.
There was laughter in court as Judge Kelly asked: "So when is Gheorge the Second going to be able to be here to deal with the case?"
Ms Henry said he was at home in Romania due to a family death.
Judge Kelly remarked: "It strikes me their father is probably Gheorge the First, this man before me is Gheorge the Second and the gentleman currently in Romania is Gheorge the Third." He adjourned the case until September 1.