Queensland Consolidated ActsThis division applies if, on the trial of a person charged with an indictable offence—
(a) a jury has—
(i) under the Criminal Code, section 613, found the person not capable of understanding the proceedings at the trial for the reason that the person is of unsound mind (a section 613 finding); or
(ii) under the Criminal Code, section 645, found the person is not of sound mind (a section 645 finding); or
(iii) under the Criminal Code, section 647, found the person not guilty of the offence on account of the person being of unsound mind when the act or omission alleged to constitute the offence occurred (a section 647 finding); and
(b) a court has, under the relevant section of the Criminal Code—
(i) made an order (a forensic order (Criminal Code)) in relation to the person being kept in custody in an authorised mental health service; or
(ii) made an order (a custody order) in relation to the person being kept in custody in another place.