I think we should not look at the current config value, but look at how the temp view was created. It's possible that a temp view was created with the SQL text stored, and then the config is turned on.