17(1)In section 30 (detention pending conclusion of appeal under section 28), for subsection (5) substitute—
“(5)The preceding provisions of this section do not apply to Scotland.”.
(2)After section 30 insert—
(1)This section applies if immediately after the judge orders the person’s discharge the judge is informed by the authority which issued the Part 1 warrant (“the issuing authority”) that it intends to appeal under section 28 (“the High Court appeal”).
(2)The judge must remand the person in custody or on bail while the High Court appeal is pending.
(3)The High Court appeal ceases to be pending at the earliest of these times—
(a)when the proceedings on the appeal are abandoned;
(b)when the High Court—
(i)allows the appeal, or
(ii)dismisses the appeal.
(4)If—
(a)the High Court appeal is dismissed, and
(b)immediately after dismissing it, the High Court is informed by the issuing authority that it intends to bring an appeal to the Supreme Court against a determination of a relevant devolution issue (“the Supreme Court appeal”),
the High Court must remand the person in custody or on bail while the Supreme Court appeal is pending.
(5)The Supreme Court appeal ceases to be pending at the earliest of these times—
(a)the end of the period of 28 days starting with the day when the High Court appeal is dismissed (unless, within that period, an application is made to the High Court for permission to make the Supreme Court appeal);
(b)the end of the period of 28 days starting with the day when the High Court refuses permission to make the Supreme Court appeal (unless, within that period, an application is made to the Supreme Court for permission to make the Supreme Court appeal);
(c)the end of the period of 28 days starting with the day on which permission is given to bring the Supreme Court appeal (unless the appeal is brought within that period);
(d)the time when the proceedings on the Supreme Court appeal are abandoned;
(e)the time when there is no further step that can be taken in relation to the Supreme Court appeal by the issuing authority (ignoring any power of a court to grant leave to take a step out of time).
(6)If the person is remanded in custody by the judge or the High Court, the High Court may later grant bail.
(7)In this section “relevant devolution issue” means a devolution issue relating to the person’s extradition.
(8)This section applies only to Scotland.”