Under section 26 of the Revised Organic Act, approved July 22, 1954, in any criminal case originating in the district court, no person shall be denied the right to trial by jury if he demands it. If no jury is demanded the case shall be tried by the judge of the district court without a jury, except that the judge may, on his own motion, order a jury for the trial of any criminal action.