This section applies to a person subject to a detention and training order if—
Subject to section 7(8) of the 1969 Act, the court by or before which a person to whom this section applies is convicted of the new offence may, whether or not it passes any other sentence on him, order him to be detained in such secure accommodation as the Secretary of State may determine for the whole or any part of the period which—
The period for which a person to whom this section applies is ordered under subsection (2) above to be detained in secure accommodation—
Where the new offence is found to have been committed over a period of two or more days, or at some time during a period of two or more days, it shall be taken for the purposes of this section to have been committed on the last of those days.
A person detained in pursuance of an order under subsection (2) above shall be deemed to be in legal custody.