Reactions of Japanese markets to changes in credit ratings by global and local agencies