Almost all banks are required to comply with tracking and sharing tax information due to OECD agreement at country level for tax reporting standardization.
It's the default regardless of the country unless you are sanctioned.
It's a factor but only a single one among multiple others.