Displaced persons can be perceived - rightly or wrongly - as legitimizing territorial claims. Examples include the IDPs in Azerbaijan (in relation to Nagorno-Karabakh) and the Sahrawi refugees in Algeria (in relation to Western Sahara).
Are there any examples of similar situations, where displaced persons have found durable solutions other than return, and where "their side" has nevertheless later regained the territory that they were displaced from?