A 19-year-old charged with murdering another teen in Grey Lynn can not be named yet, despite police objection.
Judge Kirsten Lummis granted the murder-accused interim name suppression at the Auckland District Court on Monday.
But police said revealing the defendant's name may help them locate a getaway car and a firearm they believe was used to kill Maxwel-Dee Repia.
A defence lawyer cited concerns about the accused's psychological state and safety as part of their bid for name suppression. The suppression order would expire in seven days, unless it was extended.
Lummis acknowledged family in the public gallery supporting the defendant, who stood in custody in the dock.
She also expressed condolences to Repia's family in attendance.
The accused has been charged with murder and three counts of wounding with intent to cause grievous bodily harm.
A second man, 18, faced a charge of being an accessory after the fact to murder and three counts of being an accessory after the fact to wounding.
He also appeared at the Auckland District Court Monday.
Police say the 18-year-old, who Judge Kirsten Lummis also granted interim name suppression, drove the getaway car and helped the murder-accused evade arrest.
But defence lawyer John Corby, said his client, who he called "a fragile young man", left in his car alone after he heard gunshots.
Police requested for the defendant to be named, again saying it would aid in their investigation.
Police said there is clear CCTV footage of the offence.
When it came time for media to take photographs of the defendant, he pulled the finger at the cameras.
Judge Lummis told him that would not help him and to keep cool.