While I definitely agree that namespaces should not change between environments, I have seen certain services that do this, Ariba being one of the culprits! It includes a realm number in the namespace, and this number changes between environments.
Following is one solution that tackles this Ariba namespace issue.
