Court orders alleged robber to be held in prison custody