Pеtitioner Isileli Niuakiku Latu appeals from the district court’s decision to deny his habeas corpus petition brought under 28 U.S.C. § 2241. We conclude that habe-as proceedings do not embrace review of the exercise of the attorney general’s discretion in criminal alien cases; that Mr. Latu received due process throughout his removal proceedings; and that 8 U.S.C. § 1182(h) is not facially unconstitutional. We therefоre dismiss in part and affirm in part. 1
*1015 1. Summary of facts and proceedings
Mr. Latu, a native of Tonga, was admitted to the United States as a permanent resident in 1972, at the age of thirteen. In 1999, he pleaded guilty in a California federal court to two counts of theft and receipt of U.S. mail. Mr. Latu began serving his sentence in California, but was later transferred to Colorado to complete it. In May 1999, the Immigration and Naturalization Service (INS) 2 issued a Notice to Appear out of one of its California offices, ordering Mr. Latu to show cause why he should not be removed on the basis that he had committed an aggravated felony. But the Notice to Appear failed to specify which section of 8 U.S.C. § 1101(a)(43) defined the felony he committed as an aggravated felony, and did not set a specific date, time, or place for hearing.
In July 2000, the INS commenced removal proceedings by filing the notice with the Immigration Court in Colorado and serving it on Mr. Latu. See 8 C.F.R. § 1003.14(a). In an amended notice, Mr. Latu was given a place to appear before an immigration judge (IJ). He appeared before an IJ on July 31 and was given three weeks to obtain counsel and respond to the charges. At an August 31 hearing, the IJ granted his counsel’s request for a second extension of time to answer the charges. Mr. Latu сhallenged the sufficiency of the original notice at a hearing on September 11, 2000, during which the INS orally informed him that he was charged with violating § 1101(a)(43)(M), an offense involving fraud or deceit in which the loss to the victim or victims exceeds $10,000. Aplt. App. at 49. At counsel’s request, the IJ gave Mr. Latu an additional sixteen days to respond to the charge. Id. at 50. The INS amended the charge to state a violation of § 1101(a)(43)(G) (a theft offensе, including receipt of stolen property, for which the term of imprisonment is at least one year), on September 25, 2000. After another hearing in Colorado in October 2000, the IJ concluded that the INS had proved by clear and convincing evidence that Mr. Latu is an aggravated felon subject to removal, and ordered Mr. Latu’s removal to Tonga. ApltApp. at 59-60.
Mr. Latu appealed the removal order to thе Bureau of Immigration Appeals (BIA), which dismissed the appeal by order entered May 18, 2001. Id. at 97-100. The BIA also denied Mr. Latu’s request for adjustment of status under 8 U.S.C. § 1255, determining that he is statutorily ineligible for such relief under § 1182(h) in light of his aggravated felony conviction. Id. at 99-100. And it held it had no authority to adjudicate the constitutionality of § 1182(h). Id. Mr. Latu did not file a petition for review to challenge either the BIA’s final order of removal or its denial of his request for an adjustment of status. Instead, he filed the present petition for writ of habeas corpus in the federal district court in Colorado.
Mr. Latu made the following arguments in his habeas petition: (1) failure to provide notice of date, time, and place of the hearing and of the underlying felony in the Notice to Appear constituted a violation of his Due Process rights; (2) the INS fur *1016 ther violated his Due Process rights by commencing the rеmoval proceedings in Denver, rather than in California (where his conviction on the predicate felony was obtained), thus denying him the opportunity to obtain rulings under more favorable Ninth Circuit precedent; (3) the INS failed to prove that the Mr. Latu’s conviction was sufficient to support his removal; and (4) § 1182(h) is facially unconstitutional, as it deprives lawful permanent residents who have committed aggravated feloniеs an opportunity to adjust their status that is available to aliens who do not have permanent-resident status.
With respect to the deficiencies in the Notice to Appear, the district court concluded that Mr. Latu eventually received all the process he was due and that he was not prejudiced by the initial lack of information. With respect to the government’s choice of venue for the remоval proceedings, the court rejected the government’s argument that the decision was a discretionary one outside the court’s jurisdiction to review, but found that the choice of venue did not prejudice Mr. Latu. The district court held that Mr. Latu should have raised his argument that the government failed to prove by sufficient evidence that he had been convicted of an aggravated felony in a petition for direct review and that he could not now raise it in a habeas proceeding. Finally, the court rejected Mr. Latu’s challenge to the constitutionality of § 1182(h)(2).
Mr. Latu filed a timely appeal of the district court’s order on three of the above four issues, dropping his third argument about the sufficiency of the evidence. The government contends that Mr. Latu could have raised all the issues on which he seeks habeas relief in a petition for direct review and that the district court had no jurisdiction to consider the merits of any of Mr. Latu’s habeas petition. The government also argues that the court did not have jurisdiction to consider Mr. Latu’s challenge to the INS’s decision to institute removal proceedings in Colorado, rather than in California, because that is a discretionary decision outside the purview of the court. In the alternative, the government urges affirmance on the merits.
II. Standard of Review
We first consider whether the district court erred in concluding that it had habeas corpus jurisdiction to consider Mr. Latu’s challenges to his final deportation order. We then address whether the district court properly denied the petition on the merits. We review both the jurisdictional issue and the district court’s denial of habeas corpus
de novo. Itaeva v. INS,
III. Jurisdiction
Because removal proceedings were commenced after April 1, 1997, the permanent provisions of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996 (IIRIRA) apply.
Tapia Garcia v. INS,
A. Procedural default. We address first the government’s claim that Mr. Latu did not exhaust his remedy of seeking an appeal to the court of appeals on direct review, and, therefore, the district court lacked habeas jurisdiction over his case. The government citеs Fifth Circuit cases that note, “under [IIRIRA’s] transitional rules, habeas jurisdiction lies to consider constitutional and statutory claims that cannot be heard in this court on direct review,”
Santos v. Reno,
Generally, a habeas petition cannot be used to substitute for direct appeal.
Cf. United States v. Warner,
Congress has barred courts from reviewing final removal orders .of aliens who have been convicted of certain aggravated felonies. 8 U.S.C. § 1252(a)(2)(C). Courts of appeals have jurisdictiоn only “to determine whether the jurisdictional bar applies. We may therefore decide whether the petitioner is (i) an alien (ii) deportable (iii) by reason of a criminal offense listed in the statute.”
Tapia Garcia,
Because Mr. Latu does not contest his status as an aggravated felon subject to removal, thereby admitting the jurisdip-tional fact that strips the court of jurisdiction to review his final order-of removal, he has not. failed to seek an available judicial remedy, and he is not procedurally barred from habeas review in the district court.
See Noriega-Lopez v. Ashcroft,
*1018
Citing
Moore v. Ashcroft,
Subsequently, in
Calcano-Martinez,
the Supreme Court rejected the petitioners’ suggestion that it should construe § 1252(a)(2)(C) to mean that courts of appeals are stripped of direct review “over only some matters, leaving in place their jurisdiction to directly review petitions raising claims previously cognizable under [28 U.S.C.] § 2241” because there was no support in the text or history of § 1252 for such a construction.
3
Thus, we disagree with the government’s argument that Mr. Latu could have raised all the issues in his habeas corpus petition in a petition for direct review. We conclude that Mr. Latu properly filed a timely habeas petition to bring his constitutional claims that were not reviewable on
*1019
direct review under § `1252(a)(2)(C). See Jurado-Gutierrez v. Greene,
B. Jurisdiction to review discretionary decision. We reach a different result on the issue of the district court's habeas jurisdiction to review the attorney general's prosecutorial discretion to commence proceedings in Denver instead of in Los Angeles. Section 1252(g) provides,
Except as provided in this section and notwithstanding any other provision of law; no court shall have jurisdiction to hear any cause or claim by or on behalf of any alien arising from the decision or action by the Attorney General to commence proceedings, adjudicаte cases, or execute removal orders against any alien under this chapter.
8 U.S.C. § 1252(g). While this provision does not strip the district court of § 2241 habeas jurisdiction, see Riley v. INS,
IV. Merits analysis
The district court properly considered two issues in its habeas review: whether Mr. Latu's Due Process rights were i~iolated by the INS's initial failure to include mandatory information in the Notice to Appear; and whether § 1182(h) is facially unconstitutional as violative of his right to equal protection. After careful consideration, for substantially the same reasons stated in the district court's March 13, 2003 order, we `conclude that the district court did' not err in holding that Mr. Latu suffered no prejudice from the defects in the notice. The defects were cor
*1020
rected and Mr. Latu was given all the time he needed to meet the charges. We reject Mr. Latu’s argument that, becаuse the initial notice was defective, the attorney general’s subsequent acts in effecting his removal were ultra vires. An official act does not become ultra vires if the officer was statutorily empowered to act but may have acted erroneously.
See Wyoming v. United States,
Wе further conclude that the district court properly determined that § 1182(h) has a rational basis that survives an equal protection challenge. Section 1182(h) prohibits the attorney general from granting a waiver of inadmissibility to “an alien who has previously been admitted to the United States as an alien lawfully admitted for permanent residence if ... since the date of such admission the alien has been convicted of аn aggravated felony-” § 1182(h)(2). But aliens who have not been admitted for permanent residence are eligible to apply for a waiver.
In re Michel,
21 I. & N. Dec. 1101, 1104,
The Supreme Court “has repeatedly emphasized that over no conceivable subject is the legislative power of Congress more complete than it is over the admission of aliens,” and it has “long recоgnized the power to expel or exclude aliens as a fundamental sovereign attribute exercised by the Government’s, political departments [is] largely immune from judicial control.”
Fiallo v. Bell,
As the district court noted, every other circuit that has addressed the constitutionаlity of § 1182(h) has upheld the statute against an equal protection challenge.
See, e.g., Taniguchi v. Schultz,
The Seventh Circuit set out several possible rational bases for § 1182(h)’s distinction. First, “[o]ne of Congress’ purposes in enacting reforms ... was to expedite the removal of criminal aliens from the United States.”
Lara-Ruiz,
The judgment of the district court is AFFIRMED in part and REMANDED for dismissal of Mr. Latu’s claim challenging the attorney general’s decision to commence removal proceedings in Colorado.
Notes
. After examining the briefs and appellate record, this panel has determined unanimous *1015 ly that oral argument would not materially assist the determination of this appeal. See Fed. R.App. P. 34(a)(2); 10th Cir. R. 34.1(G). The case is therefore ordered submitted without oral argument.
. On March 1, 2003, the INS ceased to exist as an agency within the Department of Justice. Its enforcement functions were transferred to the Department of Homeland Security. See Homeland Security Act of 2002, Pub.L. No. 107-296, 116 Stat. 2135 (2002). Because the events at issue here predate that reorganization, we continue to refer to the INS in this opinion.
. The Supreme Court noted that the government conceded that courts of appeals have jurisdiction to hear petitions challenging the factual determinations that trigger the jurisdiction-stripping provisions оf § 1252. But it declined to squarely address the government’s statement that courts of appeals retained jurisdiction to review "substantial constitutional challenges” in a petition for direct review because the petitioners' direct-review petitions did "not raise any of these types of issues.”
. For the same reasons that we decline to follow the Eleventh Circuit's holding in
Richardson,
we also disagree with the analysis presented in
Robledo-Gonzales v. Ashcroft,
