The order authorized by section 29-01-17 is a bar to another prosecution for the same offense.
N.D. Cent. Code § 29-01-18
Order to stay is a bar
Official source: North Dakota Legislative Branch. Reproduced from public-domain North Dakota statutes; confirm against the official source for the current text. Not legal advice.