A man accused of smashing the windscreen of a police car parked outside the Napier District Court on Monday, later allegedly threatened to "sort out" a judge if sent to jail.
Richard Monty Poi, 17, was released from prison last week after offending in May this year.
His previous lawyer described Poi as being in a "drug-induced psychosis" from smoking synthetic cannabis products.
In the court yesterday, Poi's new lawyer, James Ranger, said his client had appeared to be settled earlier in the day but that his mood had changed for the worse by the time his case was called.
Poi did not appear in the dock.
Mr Ranger tried to enter pleas for Poi, but Judge Tony Adeane would not accept them without the accused being in court.
Police prosecutor John Ashfield said: "He (Poi) indicated before, if he was sentenced to prison he'd be over the box to sort you out."
Judge Adeane replied: "You wouldn't let that happen, though, would you?"
Mr Ashfield said he would not.
Poi was remanded in custody to appear next Wednesday, when he was expected to enter a plea.