In any case in which the Attorney General successfully appeals the trial court's denial of probable cause, denial of civil commitment or conditional release, or discharge or placement on conditional release after an annual review hearing, upon the issuance of the mandate by the Court of Appeals, the trial court shall immediately issue an emergency custody order to any local law-enforcement official to have the person taken into custody and held in the local correctional facility, pending further appropriate proceedings.
Va. Code § 37.2-920