(1) If any person before a Court of Session or a High Court appears to the Court at his trial to be of unsound mind and consequently incapable of making his defence, the Court shall, in the first instance, try the fact of such unsoundness and incapacity, and if the Court is satisfied of the fact, it shall record a finding to that effect and sha...