Right, project files are agnostic about the sample rate until you add an audio file to it. At that time the sample rate is set to the "default for new projects" as set in the audio options. If the audio file is at a different rate it will be converted to the target rate. Once this happens the project is now locked to that sample rate.
One reason projects don't have a fixed sample rate is because in projects with only virtual instruments and plugins, you can change the sample rate and they will adapt to the new rate.