Unless otherwise provided in this Agreement, any legislation which restricts the entitlement to or the payment of a benefit solely because the beneficiary or the member of his family resides or stays outside the territory of either Contracting Party, shall not be applicable with respect to beneficiaries or to members of their family who reside or stay in the territory of the other Contracting Party.