The court heard that he claimed to have stayed in centres in Mullingar and Arklow.
An unsuccessful asylum seeker claiming to be from Palestine and Jordan was charged under the name "Unknown Unknown", after using six identities and five ages on his arrest in Dublin.
The accused was charged with obstructing a drug search on Monday at Store Street in the city centre.
He appeared before Judge John Brennan at Dublin District Court yesterday/today.
He was afforded representation of a solicitor on legal aid and the assistance of an Arabic interpreter before he was remanded in custody pending further attempts to establish his real identity.
The man will appear again on Thursday.
The court heard he made no reply when charged.
Garda Oisín O'Toole said the man's identity still needed to be clarified.
He told Judge Brennan that while held at Store Street station, the man was provided with an interpreter to assist him over the phone, but he still refused to give basic information.
The court heard that he kept changing his dates of birth, names and nationalities. The Garda National Immigration Bureau had no record of the details he provided.
The accused did not give evidence during the bail hearing and has yet to enter a plea.
Objecting to bail, the garda said that he was not satisfied with the man's identity until he provided an official document.
The court heard that he claimed to have stayed in accommodation outside Dublin, in centres in Mullingar and Arklow.
Solicitor Paul Byrne, assigned by the court to act for the man, later told the court he had consulted with the accused, who had provided a story with "the ring of truth about it." The solicitor said his client had been in a panic.
He also suggested that the problem had been a lack of confidence. He had been here a year and had been unsuccessful in applying for asylum.
The court heard he had a public service card, and on his phone, there was a picture of a manual handling certificate, in a different name.
Uisce Eireann Working To Repair Burst Watermains in Westmeath
Laois Councillor Outlines 'Life Changing Experience' On Humanitarian Trip
Volunteers Encourage People Across Westmeath To Hang Up County Flags
Lough Ree RNLI Issue Bank Holiday Water Safety Appeal
Laois Village Raises €170k For New Sports Amenity
Midlands Records Over 100 Homeless Children In April
Gardai Bank Holiday Operation Clocks Speeding Midlands Drivers
Irish Online Shoppers Facing Higher Customs Charges From July
Offaly Bond Holder Wins €500k
Muintir na Tíre Host Property Marking In Offaly
Gardaí Pick Up Early Midlands Speeders On June Bank Holiday Weekend
Plans In Place For Laois Housing Development
Water Network Upgrades In Laois
Ministers Burke And Dillon Announce New Employment Permits
Carlow County Council Encourages Creatives To Apply To CUBE Craft Academy In Greece
Midlands Gears Up For Vibrant June Bank Holiday Weekend
HSE Midlands Points To Care Options Ahead Of Bank Holiday
Laois TD Criticising An Coimisiún Pleanála Planning Delays
Offaly Brothers Found Not Guilty Of Attempted Murder
Midlands MEP Wants CAP Funding Boost For Young Farmers