
A man accused of making threats while armed with "nunchucks" at a state MP's electorate office could have been holding a musical instrument, not a weapon, a court has been told.
John Lawrence Smart appeared on Thursday in the Magistrates Court of Western Australia, where his lawyer expressed concern for his mental health.
He was not required to enter a plea.
Smart is accused of making verbal threats while in possession of nunchucks at the office of state Labor MP Hannah Beazley in the inner-Perth suburb of Victoria Park on Wednesday afternoon.
Police arrested and charged him with being armed or pretending to be armed in a way that may cause fear, making an unlawful threat, and possessing cannabis.
During the hearing, the highly agitated 56-year-old held his head in his hands and said he had been a musician for 20 years and he was holding claves.
"People, they don't understand what I'm going through," he said from the dock.
Smart also claimed people had "destroyed" his head.
Prosecutors said Smart entered Ms Beazley's office physically agitated and screaming, and holding two pieces of wood tied together.
He had a second similar implement attached to his belt, the police prosecutor said.
Smart allegedly demanded to see the politician while raising one of the implements above his head in a threatening manner before leaving the premises.
Smart's lawyer said he was known to carry drumsticks in the community and play drums.
Magistrate Heidi Watson suggested to the prosecutor that Smart might have been holding drumsticks.
The court heard Smart had previously been involuntarily admitted to hospital with schizophrenia and displayed delusional persecutory beliefs.
He also believed he had the "devil inside him".
Ms Watson ordered that Smart remain in custody for further medical assessment.
Ms Beazley earlier said two of her staff were present in the electoral office when Smart allegedly entered it.
"It was confronting," she said in a social media post.
"My staff did an amazing job and did everything right."
No one was injured in the alleged incident, which comes after federal member for Indi Helen Haines was struck by a four-wheel-drive vehicle outside her electorate office in northern Victoria on Monday.
The incident has sparked a nationwide debate about whether public officials are sufficiently protected from threats against their safety.
Premier Roger Cook said WA parliament had been shocked by both incidents.
"We have got to start to turn the temperature down," he said.
Mr Cook said discussions were under way about potential upgrades to security measures to protect parliamentarians and their staff.
"Everyone deserves to feel safe at work, at home and in their communities," he said.
"It's not OK for people to take out their aggressions, their disagreements on staff in a politician's office."

Mr Cook said security measures could be improved at state parliament, but they must be balanced with the need to maintain public access.
The Labor leader also said he would support making an allowance available to MPs for security upgrades at their homes.
Ms Beazley is the Labor state minister for local government and the daughter of former federal Labor leader Kim Beazley.
Smart is scheduled to return to the same court next Thursday.
Lifeline 13 11 14
beyondblue 1300 22 4636