(1) While a young person charged with a scheduled offence is remanded or committed for trial and not released on bail, he may be held in custody in such prison or other place as may be specified in a direction given by the Secretary of State under this section.
(2) Subsection (1) shall have effect in respect of a person -
(a) notwithstanding the provisions of any enactment, and
(b) whether or not he was remanded or committed for trial at a time when this section was not in force.
(3) The Secretary of State may give a direction under this section in respect of a person if he considers it necessary to make special arrangements as to the place at which the person is to be held in order -
(a) to prevent his escape, or
(b) to ensure his safety or the safety of others.
(4) The Secretary of State may give a direction under this section at any time after the person to whom it relates has been charged.
(5) In this section "young person" means a person who -
(a) has attained the age of four