A construction worker accused of carrying a 3D-printed gun and ammunition in Dublin must face trial at the Circuit Court level, the Director of Public Prosecutions (DPP) has decided.