S&P Global Ratings downgraded the country's local currency debt to "junk" status on Friday.