To date (Sept 2022) Estonia has effective
Avoidance of Double Taxation Agreements with 62 countries. If your company becomes a resident of two countries, you need to study this agreement.
Europe: EU members, Iceland, Norway, Switzerland, Balkans (except for BiH), Caucasian countries, Belarus, Moldova, Ukraine, UK, Guernsey, Isle of Man, Jersey
Asia: Turkey, Kazakhstan, Kyrgyzstan, Turkmenistan, Uzbekistan, China, Hong Kong, Republic of Korea, Singapore, Thailand, Viet Nam, Japan
Middle East: Bahrein, Israel, UAE
Africa: Mauritius
North America: Canada, US, Mexico
2 more DTAs are not in effect yet, 8 DTAs are in preparation. Negotiations between the tax authorities of the countries play a decisive role in the DTAs implementation, thus it can drag on for quite a long time. Until then, you must declare your income and pay taxes in both countries.