(1) Upon a plea to the jurisdiction of the court, the judge shall determine the question of jurisdiction in such manner and upon such evidence as he thinks fit, and may, in his discretion, order a jury to be impanelled and sworn to try any question of fact necessary to such determination.(2) Any jury so impanelled may be resworn for the trial of the indictment if the judgment on such plea is against the accused person.