docs: public static SoyMsgBundle preservingLocaleIfAllowed(SoyMsgBundle bundle, Locale locale) {
      // When checking compatibility, normalize the locale using toLanguageTag() to convert deprecated
      // locale language codes ("iw") to new ones ("he"). Thus, for backward compatiblity, we thus
      // avoid wrapping the original bundle when its language code isn't preserved.
      ULocale ulocale = new ULocale(locale.toLanguageTag());
      return ulocale.getLanguage().equals(bundle.getLocale().getLanguage())
          ? new SoyMsgBundleWithFullLocale(bundle, ulocale, ulocale.toLanguageTag())
          : bundle;
    }