It can't be done.
What we need in the future is more "modularity" for provinces where they can be turned into new political entities, attached, detached, reattached, etc. more flexibly.
As it is, those two parts of Bavaria are part of Bavaria. In later scenarios they are given their own identification, but no way for the player in the earlier scenarios to create that identity.
Kind of annoying I agree.
Mindset, Tactics, Skill, Equipment
Diligentia, Vis, Celeritas