"for the prosecution to be entitled to an order"