A man from WA's South West region who allegedly held up a gun shop on Thursday morning has been granted bail but has been detained under the state's Mental Health Act.
The 24-year-old has been charged with armed robbery, unlicensed possession of a firearm and ammunition, and possession of a prohibited weapon.