In the case of a partnership or estate the term applies only to the extent that the income derived by such partnership or estate is subject to tax in that State as the income of a resident, either in its hands or in the hands of its partners or beneficiaries. The term " resident of a Contracting State " does not include any person who is liable to tax in that State in respect only of income from sources in that State or capital situated therein. (2) Where by reason of the provisions of paragraph (1) an individual is a resident of both Contracting States, then his status shall be determined as follows: (a) he shall be deemed to be a resident only of the State in which he has a permanent home available to him; if he has a permanent home available to him in both States, he shall be deemed to be a resident of the State with which his personal and economic relations are closer (centre of vital interests); (b) if the State in which he has his centre of vital interests cannot be determined, or if he has not a permanent home available to him in either State, he shall be deemed to be a resident only of the State in which he has an habitual abode; (c) if he has an habitual abode in both States or in neither of them, he shall be deemed to be a resident only of the State of which he is a national; (d) if he is a national of both States or of neither of them, the competent authorities of the Contracting States shall settle the question by mutual agreement. (3) Where by reason of the provisions of paragraph (1), a person other than an individual is a resident of both Contracting States, then it shall be deemed to be a resident of the State in which its place of effective management is situated.