PM will be in court in case of ‘delay’ in census: SC