Justice Chandrachud said the judiciary's job is to scrutinise laws.