A TEENAGER who threatened to shoot police officers had an undiagnosed psychotic illness at the time, a court has heard.
Police went to Dylan Cody Lubbock's Little Mountain home on May 5 last year to speak with him when he became angry.
Crown prosecutor Patricia Stein said officers were at the front door when Lubbock, 19, told them he had a gun inside and would shoot them if they didn't leave.
Police retreated to their car and called for back-up after Lubbock went inside.
Ms Stein said nearby streets were cordoned off.
She said Lubbock maintained that he had a gun when spoken to over the phone.
However, he was later found in a park without a gun.
Ms Stein said the incident would have been "quite frightening" for the police officers who had gone to the door.
Defence barrister David Crews said his client was unemployed but attempting to find work.
Mr Crews said Lubbock had started mental health treatment and his most likely diagnosis was one of schizophrenia.
"He was untreated and undiagnosed at the time of the offence," Mr Crews said.
He said a psychotic illness appeared to be the catalyst for Lubbock's behaviour.
Judge Gary Long noted Lubbock was already on probation for offences including stealing when the incident occurred.
He also noted Lubbock had been charged with obstructing police during an incident two months before the threats were made.
"The gravamen of it relates to your reaction to police coming to your residence to speak to you about something," Judge Long said.
He reiterated the seriousness of threatening the officers.
Judge Long said it was important that Lubbock continued his mental health treatment.
Lubbock agreed to a three-year probation order. Its conditions included that he submit to drug testing.