The AAA (or equivalent) rating indicates the safest possible rating. Since ratings are based on probabilities, there is a non-zero chance, however small, of default. We need to keep in mind that DHFL, which had earlier issued bonds at AAA rating, later defaulted.