Where the pensioner entitled to a pension under the legislation of one Member State, or to pensions under the legislations of two or more Member States, resides in the territory of a Member State under whose legislation the right to receive benefits in kind is not subject to conditions of insurance or employment, nor is any pension payable, the cost of benefits in kind provided to him and to members of his family shall be borne by the institution of one of the Member States competent in respect of pensions, determined according to the rules laid down in Article 28 (2), to the extent that the pensioner and members of his family would have been entitled to such benefits under the legislation administered by the said institution if they resided in the territory of the Member State where that institution is situated.