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.
Education Minister Stands Over Special School Enrolment System
Offaly Gardaí Renew Appeal For Witnesses To Collision
Bord Bia Has “Torn the Heart Out of Irish Farming” - Laois TD
Laois County Council Approves 80-Metre Weather Mast
Gardaí Return To Westmeath Island Where Human Remains Were Discovered
Offaly TD Joins Chorus Calling For Resignation Of Bord Bia Chair
Heavy Rain Continues To Fall Nationwide
Fresh Start For Laois Domestic Violence Refuge As New Partner Sought
St Brigid’s Cross Workshop Takes Place In Westmeath
Rose of Tralee To Headline I Wish Festival
Portiuncula Hospital Opens New Maternity Outpatient Facility
Emergency Services Attend Scene Of Multi Vehicle Crash In Westmeath
Gardaí Search For Missing Midlands Man
Award Winning Midlands 103 Presenter Co Directs Short Film In Laois
IFA President Backs Protests As Dawn Farm Controversy Escalates
Supreme Court Upholds High Court Ruling On Laois Windfarm
Flood Risk Grows Across Midlands Under Yellow And Orange Alerts
Laois TD Concerned For Resident's Welfare In Nursing Home License Fallout
Offaly Boxer Set For Honorary Grand Marshal Role
Midlands Jobs At Risk Following Eurogiant Liquidation Announcement