insert
(5A) If an appeal in a criminal proceeding from an order of the Magistrates Court by an appellant other than the director of public prosecutions is discontinued, the court may make any order it could make under the Magistrates Court Act 1930 , section 218 that is appropriate to deal with the effect of the discontinuance on the stay under that Act, section 216.