(1) Without prejudice to any other provision, the judge may dispense with the production of a Government medical officer or other person as a witness at a criminal trial in the High Court, if in the opinion of the judge that the evidence of such witness is merely formal, or is not really material to the guilt or innocence of the accused, or that the trial, without injustice to the accused, can proceed without such witness being called.