Sovereign ratings are issued to the bonds, called gilt, issued by the central government. For an investor in the same country, there is zero credit risk since the government controls the money supply and can print enough currency to pay the interest and principal. Since money printing leads to inflation, the money you will get back at that point will have lower purchasing power.