If the judgment of the special court is reversed on appeal, or if the judgment is modified, the Court of Appeals shall enter such order as the special court should have entered, certify a copy of the order to the Secretary of the Commonwealth, and such order shall be final unless appealed to the Supreme Court. If an appeal is taken from the judgment of the Court of Appeals, the Supreme Court, in matters in which it grants the petition for appeal, shall consider the appeal consistent with the procedures set forth in § 15.2-3221, shall enter such order as the special court should have entered, and shall certify the order to the Secretary of the Commonwealth.
Va. Code § 15.2-3222