The Long-Run Creditworthiness of Developing Countries: Theory and Practice