The simplest solution is to treat official funding no differently from private debt – best achieved if official lenders buy sovereign bonds as they are issued (possibly at a predetermined yield) and agree to be treated on par with private creditors in a restructuring. As the country regains market confidence, the official funding can be reduced, and eventually the bonds can be sold back to the markets.