Standard & Poor’s kept its credit rating for troubled Egypt unchanged on Tuesday after Gulf states pledged billions to support the post-coup government in Cairo.

Ten weeks after cutting Cairo’s sovereign rating to junk-level CCC+, S&P said it would hold the rating there, with a “stable” outlook, despite the military overthrowing the elected government of president Mohammad Mursi on July 3.

Although talks on a bailout loan with the International Monetary Fund have been frozen, S&P said the promises of $12 billion in aid from Saudi Arabia, Kuwait and the UAE has “partially mitigated” the added risks from the fresh turmoil.

The loans, along with $3.7 billion in prior support from Qatar, “reduce the likelihood that Egypt will face a balance-of-payments crisis,” S&P said.

Even so, S&P said, the country’s ability to pay foreign creditors and stabilise its finances remains vulnerable, especially because Egypt is heavily dependent on imported food and oil, and maintains costly domestic subsidies for key commodities.