A Dublin man had to be pepper-sprayed and disarmed when gardai saw him walking down a city street carrying two large kitchen knives, a court has heard.
Darren Comerford (34) was allegedly found with the knives after gardai responded to a report from a member of the public.
He was granted bail and had the case against him adjourned when he appeared at Dublin District Court on a weapons charge.
Mr Comerford, of Walkinstown Avenue, Crumlin, is charged with unlawful possession of knives on June 3.
Outlining the prosecution's case, a garda said a call was received from a member of the public stating that a man was seen walking on Walkinstown Road with two large kitchen knives.
Gardai went to the scene and saw Mr Comerford with a large knife in each hand, in plain sight of members of the public.
The accused was pepper-sprayed, disarmed and arrested and taken to Crumlin Garda Station.
Judge Paula Murphy accepted jurisdiction for the case to remain in the district court.
The garda sought conditions on bail, including a requirement that the accused signs on three times a week at Crumlin Garda Station.
Judge Murphy ordered disclosure of prosecution statements to the defence, to include CCTV evidence. She granted free legal aid following an application by defence barrister John Griffin, who said the accused was unemployed.
The judge granted bail but said she would impose a daily signing on condition.
Mr Griffin said gardai were not seeking this.
He said Mr Comerford had been pepper-sprayed, which was still impacting his vision when he appeared in court.
Judge Murphy said it was a "significant charge" and Mr Comerford could apply later on to have the signing-on condition relaxed.
Under bail conditions, the accused is also to be of sober habits, keep the peace and be of good behaviour.
He has not yet entered a plea to the charge.