You'd be surprised at how many equal opportunist whores there are on earth. These are the countries that I believe Mark Carney referred to when he said "middle powers".
It is simply the most rational choice for countries who wish to thrive to play all sides, taking none and survive the disruptions.