Until Tuesday, political developments in Sri Lanka had been moving according to a script that would have met Mahinda Rajapaksa’s approval. But the Supreme Court’s ruling late in the afternoon, restoring the dissolved parliament and putting an end to plans for fresh parliamentary polls slated for January 5, seems to have spoilt the plot.