Charity Girl - Georgette Heyer

In the classic GH style. And they all lived happily ever after. The good guys win and the bad guys get their comeuppance--or at least their plans are foiled.