This section applies where—
Before passing the sentence, the court must obtain and consider a medical report unless, in the circumstances of the case, it considers that it is unnecessary to obtain a medical report.
Before passing the sentence, the court must consider—
If the court did not obtain a medical report where required to do so by this section, the sentence is not invalidated by the fact that it did not do so.
Any court, on an appeal against the sentence, must—
In this section—
“medical report” means a report as to an offender's mental condition made or submitted orally or in writing by a registered medical practitioner who is approved for the purposes of section 12 of the Mental Health Act 1983— as having special experience in the diagnosis or treatment of mental disorder;
(a)by the Secretary of State, or
(b)by another person by virtue of section 12ZA or 12ZB of that Act,
“mental disorder” has the same meaning as in the Mental Health Act 1983.
Nothing in this section is to be taken to limit—