Dynamic variables question

The docs for PlatformIO state that

The Section [platformio] and Section [env] sections are reserved and could not be used as a custom section. Some good section names might be extra or custom.

However, env section works just fine for me when defining dynamic variables. The build process warns that unknown configuration option is ignored, but the dynamic variable reference works. Should the warning be removed?