Alleged Calgary gang member Tien Ho will remain in custody while he awaits his deportation, a border services adjudicator decided Tuesday.
Last week Ho, 25, finished serving a jail term for numerous weapons offences.
He was then transferred into the custody of the Canada Border Services Agency (CBSA).
In 2009 police found seven loaded handguns hidden in Ho’s home and his girlfriend's car.
Police have alleged he is an associate of the gang FOB Killers.
Ho's lawyer, Bjorn Harsanyi, had asked his client be put under 24-hour house arrest at his parents' home until he is sent back to his native Vietnam.
But CBSA lawyers argued that Ho is still a danger to the public, that he continued to associate with known gang members during his sentence, and that he is a flight risk.