This section applies where—
In subsection (1)(e), the reference to a recordable offence includes an offence under the law of a country or territory outside England and Wales where the act constituting the offence would constitute a recordable offence if done in England and Wales (whether or not it constituted such an offence when the person was convicted).
Where the person is sentenced to imprisonment or another form of detention for less than 5 years in respect of the offence mentioned in subsection (1)(b), the section 63D material may be retained until the end of the period consisting of the term of the sentence plus 5 years.
Where the person is sentenced to imprisonment or another form of detention for 5 years or more in respect of the offence mentioned in subsection (1)(b), the material may be retained indefinitely.
Where the person is given a sentence other than a sentence of imprisonment or other form of detention in respect of the offence mentioned in subsection (1)(b), the material may be retained until the end of the period of 5 years beginning with the date on which the person was arrested for the offence (or, if the person was not arrested for the offence, the date on which the person was charged with it).
But if, before the end of the period within which material may be retained by virtue of this section, the person is again convicted of a recordable offence, the material may be retained indefinitely.
In subsection (6), the reference to a recordable offence includes an offence under the law of a country or territory outside England and Wales where the act constituting the offence would constitute a recordable offence if done in England and Wales.