; (B) in subparagraph (C), by inserting and subsection (h) after subparagraph (D) ; and (C) by amending subparagraph (D) to read as follows: (D) Judicial review of certain legal claims Nothing in subparagraph (B) or (C), or in any other provision of this Act that limits or eliminates judicial review, shall be construed as precluding review of constitutional claims or questions of law. ; (2) in subsection (b)— (A) in paragraph (2), in the first sentence, by inserting or, in the case of a decision governed by section 245G(g)(6), in the judicial circuit in which the petitioner resides after proceedings ; and (B) in paragraph (9), by striking the first sentence and inserting the following: Except as otherwise provided in this section, judicial review of a determination respecting a removal order shall be available only in judicial review of a final order under this section. ; (3) in subsection (f)— (A) in paragraph (1), by striking or restrain the operation of ; and (B) in paragraph (2), by adding after all administrative and judicial review available to the noncitizen is complete before unless ; and (4) by adding at the end the following: (h) Judicial review of eligibility determinations relating to status under chapter 5 (1) Direct review If a noncitizen’s application under section 245B, 245C, 245D, 245E, or 245F is denied, or the approval of such application is revoked, after the exhaustion of administrative appellate review under section 245G(g)(5), the noncitizen may seek review of such decision, in accordance with chapter 7 of title 5, United States Code, in the district court of the United States in which the noncitizen resides. (2) Status during review During the period in which a review described in paragraph (1) is pending— (A) any unexpired grant of voluntary departure under section 240B shall be tolled