The case is dismissed and Mainwaring is allowed to leave the court "without a stain on his character".
Mainwaring's legal troubles are resolved, allowing him to exit the courtroom unscathed and maintain his integrity.