Notwithstanding any other provision of law (statutory or nonstatutory), including section
2241 of title
28, or any other habeas corpus provision, and sections 1361 and 1651 of such title, a petition for review filed with an appropriate court of appeals in accordance with this section shall be the sole and exclusive means for judicial review of an order of removal entered or issued under any provision of this chapter, except as provided in subsection (e) of this section. For purposes of this chapter, in every provision that limits or eliminates judicial review or jurisdiction to review, the terms “judicial review” and “jurisdiction to review” include habeas corpus review pursuant to section
2241 of title
28, or any other habeas corpus provision, sections 1361 and 1651 of such title, and review pursuant to any other provision of law (statutory or nonstatutory).