Despite a temporary assessment order, a registered medical practitioner or registered psychologist by whom the child is to be examined under the order must not examine the child if—
(a) the medical practitioner or psychologist is of the opinion that the child has sufficient understanding to give or refuse consent to the examination; and
(b) the child refuses that consent.