Use WriteDecorHandle[Key] for writing decorations to ensure the StoreGate keys are known during initialization.
WriteDecorHandle[Key]
Relates to ATR-25950.
cc @tamartin @rbielski