In WikiEditor, we use mw.language.getFallbackLanguageChain() for multi-lingual icons. As a result, an icon specified to be used in 'de' will also get used by 'de-formal'.
The fallback chain for 'de-formal' is [ 'de-formal', 'de', 'en' ], so we'd probably want to use a chain that doesn't include 'en'.