This section applies if—
The Secretary of State may give an undertaking to a person acting on behalf of the territory as to the person's return to the territory.
The terms which may be included by the Secretary of State in an undertaking given under subsection (2) in relation to a person include terms that if the person is convicted of the offence and a sentence of imprisonment or another form of detention is imposed in respect of it, the person is to be returned to the territory to serve the sentence.
A person who is to be returned to a territory by virtue of an undertaking given under subsection (2) must be returned as soon as is reasonably practicable after the sentence is imposed and any other proceedings in respect of the offence are concluded.
If subsection (4) is complied with the sentence for the offence is treated as served but the person's conviction for the offence must be treated as a conviction for all other purposes.
The sentence for the offence is treated as served under subsection (5) only in so far as it consists of the sentence of imprisonment or another form of detention mentioned in subsection (3).
Subsection (8) applies if—
The court must order return by such date as is specified in the order unless reasonable cause is shown for the delay.
If a person is to be returned by virtue of an undertaking given under subsection (2), a constable may—