If you can make it make sense, then it is OK. Historically, the possibility of war hasn't discouraged every rebellion ever possibly, after all. Kazak nationalists probably aren't too fond of the Chinese infringing on their sovereignty. But it isn't going to be too simple. If the Kazaks are democratic, I would suspect their elections are rigged heavily in favor of the Chinese parties, so it would take a military coup or a large scale civilian revolt to change the government. You won't have the current government meeting up and saying "You know what? Let us be anti-communist now." That just doesn't happen.