When a charge containing more heads than one is framed against the same person, and when a conviction has been had on one or more of them, the complainant, or the officer conducting the prosecution, may, with the consent of the Court, withdraw the remaining charge or charges, or the Court of its own accord may stay the inquiry, into, or trial o...