71. The judge or the court, if it appears advisable, may substitute such applicant as petitioner and may further, if of the opinion that the discontinuance is induced by any corrupt bargain or consideration, order that the security given on behalf of the original petitioner remain as security for the costs to be incurred by the substituted petitioner, and that the original petitioner shall be liable for the costs of the substituted petitioner, to the extent of the amount of such security.