Dividends paid or credited by a company which is a resident of a Contracting State wholly or mainly out of profits, income or gains derived from sources in the JPDA, and which are beneficially owned by a resident of that Contracting State, shall be taxable only in that State. 3.