weight to the prosecution's case, though it will not serve as evidence against the defendant if an expert witness testifies that the defendant is a person with mental or psychological disabilities. When both the prosecution and defense have rested their cases, the court may, upon request of either party or if the judge or judges deem it necessary, order the summoning of a witness for further examination, even a witness who was already heard by the court, or the presentation of further evidence. If such further evidence is presented, the prosecution and defense are entitled, with the permission of the court, to present their own evidence to rebut it. Upon the completion of trial proceedings, the court will then acquit or convict the defendant in a written verdict laying out the reasons for the decision, which will be signed and dated by the judges. The court is entitled to convict a defendant for a crime that the defendant was not charged within the indictment if his or her guilt of that offense became apparent during the trial, though in such a case it must first give the defense a reasonable opportunity to rebut those charges. If the court decides to convict the defendant of an offense that it is not competent to hear a trial on, it will transfer the matter to a district court, which will hear it as if it had been originally brought before it and is entitled to hear it from the stage that the previous court had reached. If the court convicts a defendant, it will then hold a penalty phase. The prosecution is entitled to bring evidence of any previous convictions the defendant has, and if the defendant is convicted of a violent crime or sex crime, the court may instruct a public servant from the Ministry of Welfare and Social Services to provide a report on the status of and harm done to the victim or victims of the crime, or of the victims' family if the defendant committed an offense which resulted in the death of a person. Once the prosecution has presented evidence in the penalty phase, or if it has not presented evidence, the defense may then present evidence of mitigating circumstances, during which the defendant may make a statement without being examined. The court is entitled, after giving the defendant an opportunity to be heard in the matter, to