If a Supreme Court security officer acting in the execution of the officer's duty reasonably believes that an article in the possession of a person who is in, or seeking to enter, a court building ought to be surrendered on any of the grounds given in subsection (2), the officer must ask the person to surrender the article; and, if the person refuses to surrender the article, the officer may seize it.
The grounds are that the article—
Subject to subsection (4), a Supreme Court security officer may retain an article which was—
until the time when the person who surrendered it, or from whom it was seized, is leaving the court building.
If a Supreme Court security officer reasonably believes that the article may be evidence of, or in relation to, an offence, the officer may retain it until—
whichever is the later.
In subsection (4) "the permitted period" means such period, not exceeding 24 hours from the time the article was surrendered or seized, as will enable the Supreme Court security officer to draw the article to the attention of a constable.
Subsections (3) to (5) do not apply where a knife is—
but, instead, the knife must be retained in accordance with regulations under section 51D(3) unless returned or disposed of in accordance with those regulations or regulations under section 51D(1).
If a Supreme Court security officer reasonably believes that a retained knife may be evidence of, or in relation to, an offence, nothing in subsection (6) prevents the officer retaining the knife for so long as necessary to enable the officer to draw it to the attention of a constable.
In this section "knife" includes—