A security man accused of having drugs at a building site is to be allowed to continue working there after a court was told he had a "constitutional right" to employment.
Dean Douglas (20) had been excluded from the site under bail conditions, but Judge Alan Mitchell changed the terms to allow him to continue to work there while his case is before the courts.
Mr Douglas, of Blackhorse Grove, Cabra, is charged with possession of flurazepam, zopiclone and cannabis at O'Devaney Gardens, Stoneybatter, on April 24.
He is also facing a charge of possession of cannabis with intent to sell or supply at nearby Ashford Place on April 19.
The value of the drugs is alleged to be €80 in one case and €50 in another.
Dublin District Court heard the accused had been granted bail at an earlier sitting, subject to an exclusion order from O'Devaney Gardens. However, his solicitor Edward Bradbury made an application to change bail conditions.
He said Mr Douglas worked at the site of the demolished flats, which was now a building site under construction.
Mr Bradbury said the accused's employer had full knowledge of the allegations, he was still employed and they were happy to have him there.
Mr Douglas had a "constitutional right to earn a living", Mr Bradbury said, and where his employers put him was their business.
It was "preposterous" to impose bail conditions that excluded him from employment when he "sits here innocent of the charges", Mr Bradbury said.
The judge agreed to vary bail to show that he could be on the site for three hours per day only, Monday to Friday. The accused was remanded on bail to appear in court again on July 24.