If the surrender is to the court, the court shall make such order as it deems proper; if the surrender is to a sheriff or jailer, the officer to whom the accused has been surrendered shall give the surety a certificate of the fact. After such surrender the person shall be treated in accordance with the provisions of Article 1 (§ 19.2-119 et seq.) of Chapter 9 of this title unless the court or judge thereof has reason to believe that no one or more conditions of release will reasonably assure that the person will not flee or pose a danger to any other person or to the community.
Code 1950, § 19.1-145; 1960, c. 366; 1973, c. 485; 1975, c. 495; 1978, c. 755; 1999, cc. 829, 846.