As long as the seceding realm stays out of the war there shouldn't be a problem. Maybe they'd agree to sign a non-aggression pact.
That's not really the point here. Of course the new realm is involved in the war - in fact the main goal of the war was to found this new realm in the first place. It would be disingenuous to claim the new realm is neutral.