xmlns:atom="http://www.w3.org/2005/Atom"
(1)For the purposes of this Part, a person is in police custody from the time the person is arrested by a constable until any one of the events mentioned in subsection (2) occurs.
(2)The events are—
(a)the person is released from custody,
(b)the person is brought before a court in accordance with section 21(2),
(c)the person is brought before a court under section 28(2) or (3) of the 1995 Act,
(d)the Principal Reporter makes a direction under section 65(2)(b) of the Children’s Hearings (Scotland) Act 2011 that the person continue to be kept in a place of safety.