Ratings agency Standard and Poor’s raised Greece’s sovereign debt rating by six notches today from “selective default” to “BB”, and thus still a speculative investment, and added that the outlook was stable.

“The upgrade reflects our view of the strong determination of European Economic and Monetary Union (euro zone) member states to preserve Greek membership in the euro zone,” an S&P statement said.

The outlook for Greek public debt was stable because of the government’s commitment to fiscal and structural adjustments, it added.

The upgrade came after Greece completed a debt buyback programme and eurozone finance ministers approved fresh loans under a second bailout.

“We view the euro zone member states’ decision to provide material cash flow relief to Greece as indicative of their determination to restore stability to Greek finances, and to preserve Greece’s euro zone membership,” S&P said.

The European Union and the International Monetary Fund have provided most of the emergency relief for Greece, via two rescue packages.

S&P said, “We could raise our long-term rating on Greece if the government follows through fully on its steps to comply with the EU/IMF program, thereby restoring predictability to its policymaking as well as contributing to a sustained economic recovery and improved prospects of sustainable debt-servicing.

“We could lower the ratings if we believe that there is a likelihood of a distressed exchange on Greece’s remaining stock of commercial debt,” it also warned.

In Washington meanwhile, the international bank lobby Institute of International Finance (IIF) warned today that Greece’s newly revamped bailout programme still faced large risks as long as the national economy continued to contract sharply.

“With real GDP (gross domestic product) likely to decline another 4-5 per cent next year after falling 6 percent this year, and further austerity testing social cohesion, risks to the EU-IMF program will remain substantial,” the Institute of International Finance said.