After the war with the Dominion in the Alpha and Beta Quadrant was over, a peace treaty was signed. The female shapeshifter signs the documents with contempt. Surely in their view that treaty is just a formality.
What prevents the Dominion from building up a massive fleet in the Gamma Quadrant and starting the war again? As said in DS9, the Dominion had the ability to breed Jem'hadar fast and also build ships fast.