Please consider passing these to shards with a different mechanism since logically using runtime constants is a bit of a mismatch. These are expected to be user-visible.
As for why this happens this switch at least is not expecting the new constants.