Knife-wielding NSW man gets bail

Simone Ziaziaris

A knife-wielding man who was shot by a police officer at a busy Sydney mall has been granted bail to be admitted to a rehabilitation hospital.

Jerry Sourian, 24, is charged with using an offensive weapon to intimidate and affray after allegedly walking armed with a knife towards the officer at Westfield Hornsby, in Sydney's north, on June 9, 2016.

In the Downing Centre District Court on Thursday, Sourian was granted bail to be admitted to Henley Locked Unit at Macquarie Hospital for mental health services.

Judge Paul Conlon said any associated risks concerning the potential of danger to the public would be "taken care of" by the locked unit.

If Sourian breached his conditions, bail would be revoked and he would be returned to his present custody at the Metropolitan Remand and Reception Centre at Silverwater.

The judge noted Dr Andrew White's opinion that there would be "considerable benefit to Mr Sourian once admitted to a rehabilitation service".

"There is clearly an interest prior to trial in him receiving the appropriate rehabilitation and mental health services," Judge Conlon said.

Sourian's bail conditions include that he remain at the Macquarie hospital under the care of mental health professionals until his trial on August 28.