I think also the similar system works in Latvia. They only tax corporation income when funds are taken out of the company and the actual dividends are tax free to not pay twice, and to keep the system fair for all, also foreign dividends are tax free. And country has cheaper workforce salaries