Why else would any nation do what it does?
Sorry, I don’t buy into that “realpolitik” nonsense.
Ideologies are real, and they have more influence, generally, than practical considerations, because humans are only sporadically rational creatures.