Debt agreement may turn out to be a good thing after all