Pretty much. The Indians, to be fair, were also trying to ensure that their biggest neighbor would be at least friendly. Didn't quite work out.
Worse, much worse, but not initially. The Khmer Rouge didn't start out as genocidal lunatics, but everyone knows how they ended up. Same thing...