The consequences of this treaty was that France ended up losing territory and most of the participants gained territory .