The downside to playing both sides of like that, is that when you come under attack, you're on your own. If India and China go off on each other, India will have western aid, and China can only rely on China.
It would be suicidal for a smaller country to try.
Lick my balls.