Importing a track template or pasting tracks that have grouping assignments should prompt the user whether to re-assign the grouping to an unused group if it clashes with existing grouping in the project.
At the very least the user should be warned that there is a potential grouping conflict. As it stands it's too easy to make accidental changes.