I read a sentence in my "Politics" book which was:
Several High Courts gave judgements that even after the declaration of emergency, the courts could entertain a writ of Habeas Corpus filed by a person challenging his/her detention.
Now the verb "entertain", in legal context, means "to receive and take into consideration" and the noun "writ" means "a written statement directing somebody to do something". So I think there should be "issue a writ" instead of "entertain a writ(which would imply that court is reviewing a petitioner's order)". Am I right?