A man went to Garda headquarters and asked to see the commissioner before taking out a penknife and putting it on the ground in front of staff, it has been alleged.
Vasile Ursu (36) is facing weapons and public order charges following the alleged incident in which nobody was harmed.
Judge Bryan Smyth adjourned the case at Dublin District Court.
Mr Ursu, of no fixed address, is charged with the possession of a knife and public intoxication at garda headquarters in Phoenix Park, Dublin, last June 5.
The DPP directed summary disposal of the case at district court level, subject to a judge considering the issue of jurisdiction.
A garda sergeant said it was alleged the accused went to garda headquarters on the day in question and "said he wanted to see the commissioner".
When he was told he could not see him, he took out a penknife, it was alleged.
He placed it on the ground in front of staff, but did not threaten or point it at anyone, the sergeant said.
Judge Smyth said he would accept jurisdiction to allow the case to remain in the district court.
The defence solicitor asked Judge Smyth to certify for a Romanian interpreter.
The judge adjourned the case to a date in March.
Mr Ursu was not required to be present in court and was remanded on continuing bail in his absence.