If by such copy it appears that the person is lawfully imprisoned or restrained of his liberty by virtue thereof, a writ of habeas corpus shall not be granted.
N.H. Rev. Stat. Ann. § 534:5
Denial
Source
Official source: New Hampshire General Court. Reproduced from public-domain New Hampshire statutes; confirm against the official source for the current text. Not legal advice.