(1) This section applies before a court passes sentence on a convicted person.
(2) The court may, at its own initiative or at the request of the prosecution or the convicted person, summon witnesses and examine them on oath in relation to any matter in extenuation of the person's offence.