According to data from 2021, China produced 79.4 % of all polysilicon (the most energy hungry part of PV production) in the world, 96.8% of all wafers.
https://www.iea.org/reports/solar-pv-global-supply-chains/ex...
So if a country counts on becoming energy sovereign by investing into solar, this really depends on goods relations with China.