Can this just be an assert statement with no i18n of the message?

I believe this is just a validation that the subsystem is written correctly. There's no outside code or input involved. So a proper subsystem test that includes configs that cover the entire supported model will catch this kind of problem. Our CI runs execute with assertions enabled so this kind of bug should never get into a release where a user would benefit from an i18n message.