Bank regulations are designed to ensure that this type of thing is a shareholder (and pref/AT1) risk - I haven't seen any claims that they were inappropriately or incorrectly rating those risks for capital purposes (but perhaps they were, who knows).