The dramatic return as prime minister by former president Mahinda Rajapaksa, seen as leaning towards India’s strategic rival China, complicates the geopolitical environment around the periphery of India into which Beijing has been making inexorable inroads over the past few years with investments in large infrastructure projects, analysts say.