In the best of all worlds, it would be foreigners with ample reserves who suffer the losses, but those investors might be needed to finance future deficits. So central banks would have to regain anti-inflation credibility very soon after subjecting investors to a punishing inflation.