In this case, the Delhi High Court hasn't even asked Twitter to ban the account. Instead it "rejected" a plea to ban the account. Twitter definitely censored Sci-Hub on its own volition.
Quoting from the article:
"In December, academic publishers Elsevier, Wiley, and the American Chemical Society filed a suit with the Delhi High Court, asking Indian internet service providers to block Sci-Hub and similar site Libgen. The court rejected the publishers’ requests that the sites be blocked immediately, instead declaring it an “issue of public importance” and allowing time for the scientific community to weigh in."
Quoting from the article:
"In December, academic publishers Elsevier, Wiley, and the American Chemical Society filed a suit with the Delhi High Court, asking Indian internet service providers to block Sci-Hub and similar site Libgen. The court rejected the publishers’ requests that the sites be blocked immediately, instead declaring it an “issue of public importance” and allowing time for the scientific community to weigh in."