The taxation of capital gains can vary depending on the specific provisions of the Double Taxation Avoidance Agreement (DTAA) between the countries involved. In some cases, capital gains may be taxed in the country where the asset is located, while in others, they may be taxed in the investor's country of residence.