Where an accused pleads autrefois acquit or autrefois convict it shall be for the judge, without the presence of a jury, to decide the issue.