This section applies if—
The judge must decide whether the person brought before him is the person in respect of whom—
The judge must decide the question in subsection (2) on a balance of probabilities.
If the judge decides the question in subsection (2) in the negative he must order the person's discharge.
If the judge decides that question in the affirmative he must proceed under section 8.
In England and Wales, the judge has the same powers (as nearly as may be) as a magistrates' court would have if the proceedings were the summary trial of an information against the person.
In Scotland—
In Northern Ireland, the judge has the same powers (as nearly as may be) as a magistrates' court would have if the proceedings were the hearing and determination of a complaint against the person.
If the judge exercises his power to adjourn the proceedings he must remand the person in custody or on bail.
If the person is remanded in custody, the appropriate judge may later grant bail.