A man threatened gardai with a baseball bat and a five-foot wooden plank after they asked him to turn down the music at a house party, it was alleged.
Joe Carroll (41) is accused of producing the weapons after gardai called at his door because of the noise.
He was granted bail subject to a curfew and a ban on late house parties when he appeared before Dublin District Court.
Mr Carroll is charged with producing a plank and baseball bat as weapons and garda obstruction at his home at Glenshane Drive, Tallaght, last Friday.
He is also charged with causing criminal damage in a cell at Tallaght Garda Station after his arrest.
The DPP directed summary disposal of the case at district court level, subject to a judge considering the issue of jurisdiction.
Outlining the prosecution's case, a garda sergeant told Judge John Cheatle that officers called to the accused's address at 1.20am as there was loud music playing.
The front door was open, there seemed to be an argument taking place inside and, when gardai went to the door, it was alleged the accused produced a baseball bat in a threatening manner.
Officers asked him to turn the music down but he refused and made threats, it was alleged.
The prosecution would say he then went back inside and returned, carrying a thick, five-foot long wooden plank.
He was obstructive and was eventually arrested and taken to the garda station, where he caused damage by urinating in the cell, it was further alleged.
Judge Cheatle said he would accept jurisdiction to deal with the case as there were no injuries alleged.
He granted free legal aid following an application by defence barrister Garrett Casey. There was no garda objection.
The judge granted bail, subject to a curfew between 11pm and 6am.
He also ordered disclosure of prosecution documents to the defence and adjourned the case to Tallaght District Court on September 25.
The accused has not yet entered pleas to the charges.