According to the FreeMarker documentation, the settings can be overridden: https://freemarker.apache.org/docs/pgui_config_settings.html
It's possible there are some settings that NetSuite is deliberately overriding to preserve compatibility with existing templates