DTAs do not work this way. Both Contracting States (at residence/domicile and at source) will have a right to tax (save for exemptions, limitations, non-discrimination or other clauses). The resident has no right to select which country he pays tax to. At best he can claim tax credit under the particular DTA to prevent Double Taxation by both Contracting States.