Having just run across this answer: https://scifi.stackexchange.com/a/121239/22680
where the wording of the Treaty of Bajor is quoted:
All military forces of the Dominion, including Founder, Jem’Hadar, Vorta, or other allies are to withdraw from the Alpha Quadrant effective 26 hours following the general ceasefire order. No Dominion military personnel, spacecraft, or materiel are to remain in the Alpha Quadrant without the express written consent of the joint Alpha Quadrant powers.
I have to wonder:
- Cardassia is a member of the Dominion, and their military is most definitively a "military force of the Dominion". Yes, they turned against the Dominion during the final battle, but this only means the Guls doing so are guilty of mutiny and/or treason. However, by all legal means, they are members of the Dominion.
- Breen is not a member of the Dominion (although you can occasionally find the claim that they let themselves "be annexed" by the Dominion). They nevertheless, very clearly qualifiy as "other allies" according to their actions as Dominion ally (delivering energy-damping weapons, attacking Earth, attacking Starfleet ships, patrolling Cardassia, etc.).
- Romulans used to be Dominion allies, but officially renounced Dominion membership and subsequently declared war on the Dominion after Sisko's ruse. Thus, Romulans are "safe".
Following the above wording, both Cardassian and Breen military forces would need to leave the alpha quadrant (nothing is said about civilians, though).
Thus, did these two parties get said "express written consent"? Seeing how the Romulans (who are a member of the Joint Powers) are neighbours to the Breen, I cannot imagine they would agree to granting such written consent, for obvious reasons.