Is it possible to still allow editing the preferences, but to put a "warning" icon next to the preference to tell the user that the setting _is_ overridden? Like "Warning: this setting is overridden in the project preferences and will not have effect" or such.
If you actually want to change the normal preference, it would be annoying to have to close the project, tick the checkbox, and then re-open the project, IMO.