OPINION
Jeff Rose, Chief Justice.
The 2013 Texas Legislature passed legislation aimed, in part, at strengthening the Commissioner of Education's authority to revoke the charters of underperforming open-enrollment charter schools and at expediting that revocation process. American YouthWorks Charter School, Honors Academy, and Azleway Charter School (collectively, the Charter Schools) were among the first charter schools against which the Commissioner sought charter revocation under this new legislation. Their charter holders — appellees American YouthWorks, Inc., Honors Academy, Inc., and Azleway, Inc. (collectively, the Charter Holders) — sued appellants the Texas Education Agency (TEA) and Mike Morath, in his official capacity as Commissioner of Education, in Travis County District Court for declaratory and injunctive relief related to the administrative revocation process. The district court issued temporary injunctions enjoining further revocation actions regarding the Charter Schools. Our principal issue in these interlocutory appeals from those injunctions2 is whether, under a statutory scheme that expressly precludes judicial review of the agency decisions being challenged in the underlying district-court proceeding, the Charter Holders' pleadings invoke the district court's inherent right to review those agency decisions. For the reasons explained below, we conclude that their pleadings do not and cannot invoke that inherent right to judicial review and, therefore, the Charter Holders' claims are barred by sovereign immunity.
I.
BACKGROUND
Before describing the underlying administrative and judicial proceedings leading to this appeal, we will briefly review the legislative history of charter schools in Texas to provide some context for the legislation that is at issue in this case.
A. Charter schools in Texas
Facing a self-imposed deadline of September 1, 1995, that would result in the repeal of Titles 1 and 2 of the Education Code,3 and in the wake of a gubernatorial campaign in which then-candidate George W. Bush had emphasized education reform, the 74th Texas Legislature overhauled Texas's public-school system with extensive changes to the Education Code.4 To deregulate the education system, for example, the 74th Legislature stripped away several state-mandated rules; limited the role and rule-making powers of the State's administrative bodies that oversaw public education; gave the governor the power to appoint TEA's Commissioner; devolved substantial authority to the local level; and, particularly relevant here, authorized state-funded charter schools as an alternative to traditional public-school education.5
Charter schools are statutorily created public schools that operate under a written document called a charter.6 The Education Code recognizes three classes of charter schools — home-rule school-district charter schools; campus or campus-program charter schools; and, at issue here, open-enrollment charter schools.7 Stated generally, a charter explains the charter holder's and the charter school's obligations, including what the school will attempt to accomplish, how student performance will be measured, and what levels of achievement the school will attain.8 As state-funded public schools, charter schools must follow certain state guidelines, but they are afforded a level of regulatory freedom not available to traditional public schools in the name of affording them flexibility to "improve student learning"9 and "establish different and innovative learning methods"10 that best fit the needs of their students. For example, open-enrollment charter schools in Texas are, for the most part, exempt from the laws that require public schools to employ certified teachers, follow state-mandated curriculum, limit class size, or follow teacher-salary schedule and teacher-contract requirements.11 Freed from these strictures, the charter schools are instead supposed to be carefully monitored for "fiscal and academic accountability," although not in a way that "unduly regulates the instructional methods or pedagogical innovations of charter schools."12
In 2001, after charter schools had been part of the public-school system for a few years, the Legislature promulgated laws modifying the structure and operation of open-enrollment charter schools by strengthening regulations regarding their governance and financial oversight and increasing their accountability to the State.13 This legislation also added provisions regarding charter revision, probation, revocation, denial of renewal, and audits, including making the Commissioner, rather than the State Board of Education, the State official responsible for those actions.14 It further specified that Chapter 2001 of the Administrative Procedure Act — which establishes, among other things, procedural rules for contested-case hearings and the scope of judicial review of agency action15 — did not apply to TEA hearings addressing modification, probation, revocation, and renewal of charters.16
In 2004, following TEA's scheduled Sunset review,17 the Sunset Advisory Commission issued a report faulting TEA for its oversight of the charter-school program and recommending that the Legislature address the following problems:
• Without adequate, periodic assessment, some charter schools have gone bankrupt and may have inappropriately used State funds.
• Without recent accountability ratings, TEA cannot evaluate the quality of education at charter schools.18
The report concluded that children in some charter schools "may be at risk of receiving an inadequate education," and "without effective ways to measure student success, parents and school officials are ill-informed as to instructional quality."19 And emphasizing some "notable financial failures of charter schools," the report expressed serious concerns about TEA's lack of real ability "to hold charter schools accountable for expending State funds."20 The 2004 Sunset report recommended legislation requiring TEA to implement an accountability rating system for charter schools and to closely monitor charter schools that do not receive accountability ratings.21
In a bill principally devoted to revising the State's tax system for school-finance purposes, the 79th Texas Legislature included an amendment to the Education Code that, among other things, made Chapter 39's public-school accountability system applicable to open-enrollment charter schools and, relatedly, required the Commissioner to adopt rules implementing the accountability system for charter schools, including rules providing a process for rating challenges.22 Significantly, these changes to Chapter 39 specified that the Commissioner's decision on an accountability rating "may not be appealed under Section 7.057 or other law," and that the charter school may not appeal the rating "in another proceeding" if the school had the opportunity to challenge the rating as provided by the Commissioner-promulgated rules.23
The next statutorily scheduled Sunset report on TEA, which issued in 2013 after the 2012-2013 review cycle,24 included a comprehensive review of TEA's difficulties and failures in addressing the poor academic performance and financial mismanagement at low-performing charter schools.25 The 2013 TEA Sunset report emphasized that, despite failing to meet required academic performance standards, poor-performing charter schools remain open, subjecting students to inadequate education, because "TEA cannot act quickly, particularly in circumstances warranting revocation."26 The report further noted, "Revocation of a charter under the charter school statute typically takes two to three years, on top of several years of poor performance, during which time a charter school remains open"; and "A long revocation process leaves students to be educated at underperforming charter schools."27 The report acknowledged TEA's lack of statutory authority to address and effectively deal with charter schools' financial accountability problems,28 and its ultimate recommendation in this regard was legislation requiring the Commissioner to revoke the charter, without an agency hearing or any right of appeal, of any charter school that failed to meet basic academic or financial accountability standards for three years in a row.29
In the following legislative session, proponents of reforming the charter-school system invoked the 2013 Sunset review as having revealed "serious regulatory flaws" in TEA's governing ability and cited it in support of modifying the State's "outdated and ineffective laws governing charters" that have "created a situation where a cap [on the number of charters] prevents new high-quality schools from forming while poor performing schools are allowed to remain open."30 Professing concern that "outdated laws and policies" governed charter schools, proponents introduced and ultimately persuaded the Legislature to enact Senate Bill 2 — "a comprehensive bill to overhaul the laws relating to authorizing, governing, and establishing charter schools in Texas."31 To address the specific problem of "many poor performing existing charters that have been able to remain open because of ineffective laws governing public charters,"32 Senate Bill 2 included provisions, as were specifically recommended in the 2013 Sunset report, mandating that the Commissioner revoke the charters of any charter schools having "three strikes" on their accountability ratings and strictly limiting review of the Commissioner's charter revocation decisions:
Sec. 12.115. Basis for Charter Revocation, or Modification of Governance
. . . .
(c) The commissioner shall revoke the charter of an open-enrollment charter school if:
(1) the charter holder has been assigned an unacceptable performance rating under Subchapter C, Chapter 39, for the three preceding school years;
(2) the charter holder has been assigned a financial accountability performance rating under Subchapter D, Chapter 39, indicating financial performance lower than satisfactory for the three preceding school years; or
(3) the charter holder has been assigned any combination of the ratings described by Subdivision (1) or (2) for the three preceding school years.
(c-1) For purposes of revocation under Subsection (c)(1), performance during the 2011-2012 school year may not be considered. For purposes of revocation under Subsection (c)(1), the initial three school years for which performance ratings under Subchapter C, Chapter 39 [academic accreditation], shall be considered are the 2009-2010, 2010-2011, and 2012-2013 school years. For purposes of revocation under Subsection (c)(2), the initial three school years for which financial accountability performance ratings under Subchapter D, Chapter 39 [financial accountability], shall be considered are the 2010-2011, 2011-2012, and 2012-2013 school years. This subsection expires September 1, 2016.
. . . .
(g) The commissioner shall adopt rules necessary to administer this section.
(h) The commissioner shall adopt initial rules under Subsection (g) not later than September 1, 2014. This subsection expires October 1, 2014.
Sec. 12.116. Procedure for Revocation, or Modification of Governance
(a) The commissioner shall adopt an informal procedure to be used for revoking the charter of an open-enrollment charter school ... as authorized by Section 12.115.
(b) Chapter 2001, Government Code, does not apply to a procedure that is related to a revocation or modification of governance under this subchapter.
(c) A decision by the commissioner to revoke a charter is subject to review by the State Office of Administrative Hearings. Notwithstanding Chapter 2001, Government Code:
(1) the administrative law judge shall uphold a decision by the commissioner to revoke a charter unless the judge finds the decision is arbitrary and capricious or clearly erroneous; and
(2) a decision of the administrative law judge under this subsection is final and may not be appealed.
. . . .33
Senate Bill 2, including sections 12.115 and 12.116, went into effect on September 1, 2013.34
On December 18, 2013, the Commissioner sent letters to six open-enrollment charter schools, including appellees here, that TEA had identified as meeting the criteria for mandatory charter revocation under the new legislation.35
B. Appellees' charter revocations
In his December 18, 2013 letter, the Commissioner explained to each recipient that he was revoking its open-enrollment charter (effective June 30, 2013) under section 12.115(c) of the Education Code. He cited the performance ratings that were the basis for the recipient's charter revocation and attached exhibits corresponding to the identified ratings. The Commissioner also noted that the identified performance ratings on which the revocations were based were "final and not appealable" because "all rights to appeal the ratings identified above had been waived or exhausted."
In these same letters, the Commissioner described the informal appeals process available to the schools slated for charter revocation: the charter school had "the right to request an informal review of, and hearing regarding" the Commissioner's revocation decision, but "only if the charter holder submits a written request that contains specific answers to each of the findings included in this Notice." He explained further that if the charter holder submitted a timely request that was subsequently denied during the informal review — i.e., if the Commissioner "did not change [his] decision during the informal review" — the charter school's revocation issue would be sent to the State Office of Administrative Hearings (SOAH) for a hearing under section 12.116. Finally, the Commissioner noted that the SOAH hearing would be "limited to the specific findings and revocation detailed in this correspondence," that his decision would be upheld "unless the judge finds the decision is arbitrary and capricious or clearly erroneous," and that the SOAH judge's decision would be "final and may not be appealed."
1. American YouthWorks36
The Commissioner's letter to American YouthWorks identified the following performance ratings as the basis for mandatory revocation of its charter:
• 2010-2011 academic performance rating of "AEA:37 Academically Unacceptable";
• 2010-2011 financial accountability performance rating of "Substandard Achievement";
• 2011-2012 financial accountability performance rating of "Substandard Achievement"; and
• 2012-2013 financial accountability performance rating of "Substandard Achievement."
American YouthWorks appealed the Commissioner's revocation decision immediately, claiming that TEA had misinterpreted and misapplied the plain language of subsection (c-1); that American YouthWorks was denied due process; that revocation of its charter constitutes an unlawful taking; that TEA and the Commissioner adopted arbitrary revocation rules in violation of the APA; that the revocation decision was premature because American YouthWorks had rating appeals pending; and that sections 12.115 and 12.116 are unconstitutional.
The Commissioner notified American YouthWorks in February 2014 that, after reviewing its response to the notice of revocation and conducting an informal review, he had decided to proceed with the charter revocation and would be forwarding American YouthWorks's appeal to SOAH for a hearing as provided by section 12.116. That appeal was scheduled for April 14, 2014.
2. Azleway38
The Commissioner's revocation notice to Azleway identified the following performance ratings as the basis for mandatory revocation of its charter:
• 2010-2011 academic performance rating of "AEA: Academically Unacceptable";
• 2011-2012 financial accountability performance rating of "Substandard Achievement"; and
• 2012-2013 financial accountability performance rating of "Substandard Achievement."
Like American YouthWorks, Azleway immediately appealed the Commissioner's revocation decision, but it asserted only two challenges. First, Azleway addressed what it characterized as a mistake regarding its designation as an "alternative campus" that had affected its 2010-2011 academic accountability rating. According to Azleway, because its campuses qualify as residential treatment facilities, it was not accountable under the 2010-2011 rating system, but the Commissioner's revocation notice "still erroneously applie[d] the former rating system retroactively to Azleway Charter School for the 2010-11 school year and count[ed] that year twice to tally its three unacceptable periods to justify th[e] revocation." As its second argument, Azleway complained that TEA had "ignored" its explanation regarding an acknowledged clerical error involving Azleway's financial-accountability information that had adversely affected its rating for the 2012-2013 school year, despite later correcting the error on the TEA website.39 The Commissioner denied Azleway's appeal of his revocation decision and referred the matter to SOAH as provided by section 12.116. The SOAH hearing was scheduled for April 29, 2014.
3. Honors Academy40
The Commissioner's letter to Honors Academy identified the following performance ratings as the basis for mandatory revocation of its charter:
• 2009-2010 academic performance rating of "Academically Unacceptable";
• 2010-2011 academic performance rating of "Academically Unacceptable"; and
• 2012-2013 academic performance rating of "Improvement Required."
In its administrative appeal, Honors Academy challenged the Commissioner's interpretation of subsection (c-1) of section 12.115, which states, "For purposes of revocation under Subsection (c)(1), performance during the 2011-2012 school year may not be considered."41 Honors Academy argued that while the plain language of subsection (c)(1) prohibits the use of any data, including student data, from the 2011-2012 school year in the revocation context, there is no dispute that TEA calculated Honors Academy's 2012-2013 academic accountability rating using student data from the 2011-2012 school year.
At the subsequent hearing before SOAH, the ALJ considered Honors Academy's arguments, but ultimately ruled that the Commissioner's revocation decision was not arbitrary, capricious, or clearly erroneous and issued an order upholding the revocation.
C. District-court proceedings
In 2014, before American YouthWorks' and Azleway's April-scheduled hearings before SOAH could take place, the Charter Holders filed the underlying suits in Travis County District Court. The Charter Holders sought temporary injunctive relief to halt the ongoing revocation proceedings at TEA and asserted various claims for declaratory relief under the Uniform Declaratory Judgments Act (UDJA),42 including requests involving the construction and validity of Education Code sections 12.115 and 12.116, the validity of TEA Rule 109.1002,43 and alleged ultra vires acts by the Commissioner. After a hearing, the district court issued two orders temporarily enjoining TEA and the Commissioner from:
• "[T]aking any further action to revoke [American YouthWorks' and Azleway's] charters until such time as th[e district court] may conduct a full trial on the merits."44
• "Revoking the Open-Enrollment Charter of Honors Academy or taking other action to enforce any prior order of revocation, or taking any other action to impair ongoing educational operations of Honors Academy...."45
It is from these injunctions that TEA and the Commissioner now appeal.
II.
Sovereign Immunity
In their interlocutory appeal, the TEA and the Commissioner complain that the district court abused its discretion in granting the temporary injunctions46 and that sovereign immunity bars the Charter Holders' claims. Because the district court's subject-matter jurisdiction over the Charter Schools' claims, and thus ours, depends on the resolution of the sovereign-immunity issue, we begin with that issue.47
Absent legislative waiver, sovereign immunity deprives Texas courts of subject-matter jurisdiction over any suit against the State or its agencies or subdivisions.48 That same immunity normally extends to Texas state officials who are sued in their official capacities, such as the Commissioner here, because that "is merely `another way of pleading an action against the entity of which [the official] is an agent.'"49 A claim seeking to require a state official to comply with statutory or constitutional provisions, however, is not prohibited by sovereign immunity.50 Such an "ultra vires" claim must allege (and ultimately prove) that the state official, rather than the government itself, acted without legal authority or failed to perform a purely ministerial act.51 Ultra vires claims that meet such requirements and seek only to require the state official to comply with the statutory or constitutional provisions at issue, do not implicate sovereign immunity in the first instance and, thus, are not barred even absent legislative consent.52 But because an ultra vires suit is, for all practical purposes, against the state, remedies for such a claim are limited and, in fact, may implicate immunity.53 Only some forms of prospective injunctive relief are allowed to remedy an ultra vires action; retrospective relief, whether monetary or otherwise, is barred.54
The doctrine of sovereign immunity derives from the common law and has long been part of Texas jurisprudence.55 Sovereign immunity in Texas embodies two concepts: immunity from liability and immunity from suit.56 Immunity from liability protects governmental entities from judgments, while immunity from suit completely bars actions against those entities unless the Legislature expressly consents to suit.57 "Simply described, sovereign immunity generally shields our state government's `improvident acts' — however improvident, harsh, unjust, or infuriatingly boneheaded these acts may seem — against the litigation and judicial remedies that would be available if the same acts were committed by private persons."58
These sovereign-immunity concepts apply in the administrative context as well because, like other suits against the government, a suit challenging a specific administrative order also seeks to control state action — it seeks to restrain the state or its officials in the exercise of discretionary statutory or constitutional authority. Thus, such actions, including the underlying actions here, are barred absent legislative waiver or allegations of unconstitutionality or ultra vires acts.59 Or as stated by the Texas Supreme Court, "It is well recognized under Texas law that there is no right to judicial review of an administrative order unless a statute provides a right or unless the order adversely affects a vested property right or otherwise violates a constitutional right."60 Although the Charter Holders seem to disagree, not only does the Education Code not provide for judicial review of the Commissioner's revocation decision or for a review of the accountability decisions on which the revocation decision itself is predicated, Chapter 12 expressly prohibits judicial review of either of those decisions.61 Thus, the Charter Holders here are limited to asserting the type of claims described above that are said to invoke the trial court's "inherent jurisdiction" to protect against agency action that is unconstitutional or ultra vires of the agency's authority.62
Our review of the sovereign-immunity issues in this appeal are under the same standard by which we review subject-matter jurisdiction generally.63 That standard requires the pleader — here, the Charter Holders — to allege facts that affirmatively demonstrate the trial court's jurisdiction to hear the cause.64 Whether the pleader has met this burden is a question of law.65 We construe the pleadings liberally and look to the pleader's intent.66 Additionally, because we are considering subject-matter jurisdiction for the first time on appeal rather than reviewing a trial-court order granting or denying a plea to the jurisdiction, we must review the entire record to determine if any evidence supports jurisdiction.67 Here, although certain jurisdictional facts may overlap with the merits, none of those facts, material or otherwise, are disputed by the parties. As such, we are presented solely with questions of law on the jurisdictional issues.68
If the pleadings do not contain sufficient facts to affirmatively demonstrate the trial court's jurisdiction but do not affirmatively demonstrate incurable defects in jurisdiction, the issue is one of pleading sufficiency and the plaintiffs should be afforded the opportunity to amend.69 If the pleadings affirmatively negate the existence of jurisdiction, we may render judgment dismissing the plaintiffs' case without an opportunity to amend.70
In their live pleadings to the district court, the Charter Holders asserted multiple requests for declaratory relief that can be fairly divided into four types of claims: (1) challenges to the constitutionality of Education Code sections 12.115 and 12.116; (2) requests for statutory interpretation and declaration of rights as to those same and related Code provisions; (3) challenges to the validity of TEA Rule 109.1002; and (4) various ultra vires claims.71 The Charter Holders brought all of their claims under the UDJA.
The UDJA waives sovereign immunity for certain claims, including challenges to the validity of a statute or ordinance, but it is not a general waiver of sovereign immunity.72 However, the UDJA does not create or augment subject-matter jurisdiction — it merely provides a remedy where subject-matter jurisdiction already exists.73 And "a litigant's couching its requested relief in terms of declaratory relief does not alter the underlying nature of the suit."74 As such, sovereign immunity will bar an otherwise proper UDJA claim that has the effect of establishing a right of relief against the State for which the Legislature has not waived sovereign immunity.75 Stated in terms applicable here, to the extent their claims suffer from any sovereign-immunity defects, the Charter Holders cannot avoid those problems merely by asserting UDJA claims and purporting to request only declaratory relief. Similarly, the Charter Holders' ultra vires claims must allege facts showing that a state actor acted without legal authority or failed to perform a purely ministerial act and, further, must not seek remedies that would implicate sovereign immunity.76
With these sovereign-immunity concepts in mind, we turn now to the Charter Holders' claims.
A. Constitutional-validity claims
The Legislature has expressly waived the state's immunity from suit for UDJA actions challenging the validity of a statute.77 The Charter Holders have collectively pleaded two statutory-validity claims that they maintain qualify under this waiver of immunity. First, they assert that subsections (c) and (c-1) of Education Code section 12.115 violate the Texas Constitution because they operate as a retroactive law or impair the obligation of contracts, namely the charters granted to the Charter Holders by the State.78 Second, the Charter Holders assert that sections 12.115 and 12.116, operating together, violate the Texas Constitution by depriving the Charter Holders of their property — again, alleged property interests in their charters — without due process of law.79 To the extent that these constitutional claims are viable, they are not barred by sovereign immunity.80 We determine a claim's viability by considering the Charter Holders' pleadings in their favor and, if necessary, reviewing the entire record to determine if any evidence supports subject-matter jurisdiction.81
The TEA and the Commissioner assert that the Charter Holders' due-process and retroactivity claims are not viable because the Charter Holders have no vested rights in their charters. The Charter Holders disagree, emphasizing that TEA's own general counsel has recognized a charter holder's vested interest in its charter; charter schools usually own pre-charter assets that would likely be acquired by TEA upon charter revocation; and charter schools often acquire financial obligations, grants, and other funds based on their charters. The Charter Holders also contend that, regardless, the Texas Supreme Court's 2010 decision in Robinson v. Crown Cork & Seal Co.,82 has eliminated the dispositive effect of vested rights in a retroactivity claim and replaced it with a balancing test that the legislation at issue here cannot survive. While we agree that Robinsonrejected the traditional "impairs-vested-rights" analysis for retroactivity claims, it did not eliminate the requirement for a constitutionally protected property interest, which is at the heart of retroactivity and due-process claims.83 As we explain below, the Charter Holders do not have a constitutionally protected property interest in the continuation of their charters.
For due-process claims, the necessary property interest is the traditional "vested right" — "Before any substantive or procedural due-process rights attach," a petitioner "must have a liberty or property interest that is entitled to constitutional protection," and that "constitutionally protected right must be a vested right."84 Historically, that same lack of vested interest was likewise fatal to a retroactivity claim: "Laws are deemed retrospective and within the constitutional prohibition, which by retrospective operation, destroy or impair vested rights."85 But, as noted, Robinsonrejected the traditional "impairs-vested-rights" analysis for retroactivity claims and substituted in its place a balancing test that requires courts to consider (1) "the nature and strength of the public interest served by the statute as evidenced by the Legislature's factual findings"; (2) "the nature of the prior right impaired by the statute"; and (3) "the extent of the impairment."86 Thus, as seen in the second factor, while a vested right may no longer be required, retroactivity claims, like due-process claims and takings claims, must still be founded on an underlying property interest.
"Property" in the constitutional sense is a label applied to a benefit when an individual possesses a "legitimate entitlement" to the benefit under "existing rules or understandings."87 These "rules" and "understandings" arise from sources independent of the Constitution, such as state statutes, the common law, and contracts.88 When these sources secure certain benefits and support claims of entitlement to those benefits — i.e., provide an individual with a "legitimate entitlement" to a benefit, not merely an abstract need or desire for the benefit or a unilateral expectation of the benefit — the Constitution recognizes the benefit as "property" worthy of constitutional protection.89 By way of example, a written contract with an explicit tenure provision could be evidence of a formal understanding that would support a teacher's claim of entitlement to continued employment unless sufficient cause is shown.90 Conversely, an untenured professor would have no claim of entitlement to re-employment after his one-year employment contract expired by its own terms.91
The Charter Holders' assertion of a constitutionally protected property interest in their State-granted charters — i.e., a legitimate entitlement to the charter based on existing law or understanding — is not supported by the Education Code or the undisputed terms of their respective charters. To the contrary, specific provisions found in each of the charters and a provision the Education Code conclusively negate any such possible property interest.
Under long-established Supreme Court jurisprudence, a benefit is not a protected entitlement if government officials may grant or deny it in their discretion.92 "Some substantive limit on the State's discretion is an essential characteristic of a property interest warranting constitutional protection."93 The charters here each include provisions that explicitly acknowledge and agree to the State's unlimited discretion over the charters. For example, in accepting TEA's renewal of its charter in 2007, Azleway, Inc., agreed as follows:
[T]he [charter] may be modified or even terminated by future legislative act. Furthermore, state and federal laws and rules may periodically be adopted, amended, or repealed and all such changes applicable to the charter holder or its charter school(s) may modify this [charter] as of the effective date provided in the law or rule. Nothing in this [charter] shall be construed to entitle the charter holder to any privilege or benefit, including any funding, but in accordance with state and federal laws in effect and as they may in the future be amended. A [charter] term that conflicts with any state or federal law or rule is superseded by the law or rule to the extent that the law or rule conflicts with the [charter] term.
Similarly, both American YouthWorks and Honors Academy agree in their charters that the terms of the charters include "applicable law" and "any condition, amendment, modification, revision or other change to the charter adopted or ratified by the [Texas State] Board [of Education]."94 Moreover, section 12.071 of the Education Code stipulates that a charter holder who accepts any state funding after the effective date of a provision in subchapter 12 (relating to open-enrollment charter schools), "agrees to be subject to that provision, regardless of the date on which the charter holder's charter was granted."95 In sum, these charter provisions and section 12.071 give the State "unfettered discretion" over the charters at issue here. As such, even if we could determine that some other state law or understanding provided the Charter Holders with a legitimate entitlement to their charters, which we do not do here, these provisions render any such interest entirely contingent on State discretion,96 and thus not entitled to constitutional protection.97
Even if we were to assume that the Charter Holders have some constitutionally protected interest in their State-granted charters, however, their due-process and retroactivity claims would still not be viable on the undisputed facts here. First, the Charter Holders do not allege facts that would construe a denial of due process. At a minimum, due process requires that "deprivation of life, liberty or property by adjudication `be preceded by notice and opportunity for hearing appropriate to the nature of the case.'"98 "This principle requires `some kind of hearing'" before the deprivation or "some pretermination opportunity to respond" — i.e., "to present reasons, either in person or in writing, why proposed action should not be taken."99 However, "the pretermination `hearing,' though necessary, need not be elaborate" depending on "`the importance of the interests involved and the nature of the subsequent proceedings.'"100 Further, the pretermination hearing "need not definitively resolve the propriety of the discharge," but it "should be an initial check against mistaken decisions — essentially, a determination of whether there are reasonable grounds to believe that the charges ... are true and support the proposed action."101
The Charter Holders each had the opportunity to, and did, contest the adverse ratings determinations on which the revocation decision was based when those ratings were issued. Moreover, each Charter School was allowed to, and did, challenge the Commissioner's revocation decision, first to the Commissioner and then to SOAH. The Charter Holders complain that the appeal of an adverse financial rating is unfairly (and arbitrarily) limited to challenging "a data error solely attributable to the TEA's review of the data for any of the indicators,"102 but that limitation is logical given that the ratings result from a score that is based on the answers supplied in response to multiple objective questions, which in turn, reflect "financial measurements, ratios, other indicators established by the commissioner."103
As for the revocation decision, section 12.116 requires the Commissioner to establish an "informal procedure" that "must allow a representative of the charter holder to meet with the Commissioner to discuss the Commissioner's decision and must allow the charter holder to submit additional information to the commissioner relating to the Commissioner's decision," and that the Commissioner must provide a written response.104 If the Commissioner denies the informal appeal, the charter holder is then entitled to an appeal to SOAH.105 Each of the Charter Schools participated in this appeal process. In sum, a charter school identified for revocation under section 12.115 has the pre-revocation opportunity to be heard at least three times regarding a challenge to the ratings that are the basis for the revocation decision, and two times regarding a challenge to the revocation decision itself. As such, the Charter Holders had the "opportunity to be heard `at a meaningful time and in a meaningful manner'" that due process requires.106
As for their retroactivity claims — again assuming the existence of a property interest — the challenged statutory provisions at issue here would survive Robinson's balancing test. Any interest the Charter Holders might be deemed to have in their charters would be far from the "firmly vested" interest the plaintiffs in Robinson had in their personal-injury claims.107 In fact, given that open-enrollment charters lack, among other traditional attributes of property, transferability and are subject to numerous conditions and discretionary control by the State,108 it is difficult to describe them as property at all. Further, Education Code sections 12.115 and 12.116 serve an unarguably compelling public purpose — Texas's interest in ensuring that its citizens are educated.109 Both the legislative history in the record and the plain meaning of these provisions evidence that the Legislature's purpose in amending sections 12.115 and 12.116 was to empower the Commissioner to revoke the charters of underperforming charter schools in an efficient and timely manner, with limited agency review and no judicial review,110 in service of the compelling state interest.111
We hold that the Charter Holders' constitutional claims challenging Education Code sections 12.115 and 12.116 are not viable as a matter of law and, as such, are barred by sovereign immunity.
B. Statutory-construction and declaration-of-rights claims
In their second group of UDJA claims, the Charter Holders ask the district court to interpret different provisions of the Education Code and make declarations regarding the court's interpretations. For example, asserting that Education Code sections 39.152 and 12.116 conflict, the Charter Holders ask for an interpretation and declaration as to which of the two applies to charter-revocation proceedings.112 The Charter Holders also seek an interpretation of section 12.115(c-1) and a declaration that the Legislature's intent in promulgating that provision was that a charter school's performance rating for any given school year be based solely on data from that same school year. In support of the court's jurisdiction over these claims, the Charter Holders rely on the same UDJA provision that the supreme court has held waives sovereign immunity for statutory-validity claims, i.e., section 37.004(a). However, as the supreme court explained in Sefzik, unlike the waiver for validity claims, "the UDJA does not waive the state's sovereign immunity when the plaintiff seeks a declaration of his or her rights under a statute or other law."113 Accordingly, the Charter Holders' claims requesting statutory construction and a declaration of rights are barred by sovereign immunity. Nevertheless, to the extent it is possible to recast these as ultra vires claims, we will do so and address them in our analysis of the Charter Holders' pleaded ultra vires claims.114
C. Ultra vires claims
As for their ultra vires claims, the Charter Holders assert that the Commissioner acted without legal authority when he violated —
• section 12.115(c-1) by using, as a basis for charter revocation, accountability ratings that were established using data from the 2011-2012 school year;
• section 12.115(c) by using, as a basis for charter revocation, accountability ratings that were established using data from a year(s) other than the year to which the accountability rating is assigned;
• section 12.116(c) by denying the charter schools the right to challenge the accuracy, legitimacy, and validity of the underlying accountability ratings;
• section 39.055 by not exempting Azleway from the accountability standards as a residential treatment facility;
• section 12.115(g) by initiating charter-revocation proceedings before adopting rules to administer those proceedings;
• section 12.116(a) by failing to provide reasonable notice of the "informal procedure" to be used in the charter-revocation process; and
• section 39.152 by following, in the charter-revocation process, the review set forth under section 12.116 rather than that provided by section 39.152.
In addition to the above claims, the Charter Holders also assert that SOAH acted ultra vires by denying the Charter Schools the right to challenge the "accuracy, legitimacy, and validity" of the underlying accountability ratings in violation of section 12.116(c).115
Assuming without deciding that the above are properly pleaded ultra vires claims, they are all nevertheless barred by sovereign immunity because they seek or would require forms of relief that are retrospective in nature and, thus, impermissible.116 Although the Charter Holders disagree, asserting that their claims seek "review, interpretation, and invalidation" of only "future revocation appeals," the actual relief they seek — ultimately that their charters not be revoked under this particular revocation decision, but also that they be allowed to challenge past accountability ratings on which that decision was based — necessarily requires somehow undoing or changing prior acts or events. The Charter Holders' first four claims, as listed above, and the claim ostensibly directed at SOAH, would require changing — either by granting an additional review of the performance ratings or, in at least one instance, actually awarding a different performance rating — the Charter Schools' past performance ratings in the hope that the rating change would remove the school(s) from the mandatory revocation list. This is the necessary relief sought here because, unless the prior unacceptable or unsatisfactory performance ratings were to change, the Charter Schools remain subject to mandatory revocation under section 12.115 the same as they did in mid-December 2013 — "The commissioner shall revoke the charter of an open-enrollment charter school if the ... charter holder has been assigned" unacceptable or unsatisfactory performance ratings for the three preceding school years.117
The Charter Holders' remaining three claims challenging the Commissioner's charter-revocation process similarly seek to undo or rewind, as it were, an already-ongoing process, including the Commissioner's revocation decisions and informal review affirming those decisions. Although the Charter Holders urge that such relief would not undo any final decision in this instance because (at least in the cases of American YouthWorks and Azleway) there has been no SOAH review of the Commissioner's decision, the simple fact is that the only judicial action that would effect the relief sought is a judgment reversing the Commissioner's revocation decision or TEA's actions, or one ordering the Commissioner to reverse his decision and TEA to reverse its actions to allow the Charter Holders to redo the entire charter-revocation process. As emphasized, the Education Code does not allow for this type of review. Further, we cannot think of, and the Charter Holders have not articulated, any prospective declaratory relief that would have any effect on their charter revocation.118
In a final group of what they characterize as "ultra vires" claims, the Charter Holders allege that the Commissioner acted beyond his statutory authority in promulgating TEA Rule 109.1002 because that rule impermissibly restricts the review process for accountability ratings that is statutorily available under the Education Code.119 These assertions by the Charter Holders, however, are not in the nature of ultra vires claims. The gravamen of the complaints is not that the Commissioner exceeded his authority in promulgating Rule 109.1002 — he had the authority to do so under the very statutes the Charter Holders assert the rule violates.120 Rather, the Charter Holders' actual complaint is that the rule as promulgated violates the statutes under which it was authorized. Accordingly, we will also consider these claims under our discussion of the Charter Holders' other rule challenges below.121
As ultra vires claims, the Charter Holders' "rule challenges" fail because, quite simply, the UDJA does not waive sovereign immunity for rule challenges, only challenges to statutes and municipal ordinances.122 Regardless of that limitation, however, their claims also fail for the same reason their other "ultra vires" claims did, namely that they seek relief that is retrospective in nature.123 The Charter Holders' chief complaint is that the rule impermissibly restricts the review process for accountability ratings that is statutorily available under the Education Code.124 As relief, the Charter Holders' pleadings seek to have their already-determined and now-final accountability ratings changed or rendered null and void. But, as we explained above, the district court could not undo, change, or render "null and void" the Charter Schools' final accountability ratings that were previously reached under this rule, nor would the district court have jurisdiction to "permit [them] to appeal," as they have asked, those final accountability ratings since that would be the same as authorizing a change to the ratings. Similarly, as will be discussed in more detail below, a prospective declaration that this rule is invalid and enjoining its further enforcement125 would not have any legal effect on the Charter Schools' already final accountability ratings.
D. Rule challenge
In their remaining category of claims, the Charter Holders assert rule challenges under APA section 2001.038, which authorizes declaratory actions to determine "the validity or applicability of a rule."126 The Charter Holders assert that TEA Rule 109.1002 is invalid because it was not promulgated in compliance with the APA's rulemaking provisions127 and because it violates two provisions of the Education Code: section 39.151's mandate that charter schools have an opportunity to appeal accountability ratings in a specific manner;128 and section 39.082's requirement that the accountability rating system use "uniform indicators ... to measure the financial management performance and future financial solvency" of a charter school.129
Section 2001.038 waives sovereign immunity for challenges to the validity and applicability of agency rules if the rule or its threatened application interferes with or impairs a legal right or privilege of the plaintiff.130 However, like any other cause of action, section 2001.038 requires the existence of a justiciable controversy to establish subject-matter jurisdiction.131 In the underlying case, the district court does not have jurisdiction to determine whether Rule 109.1002 is valid or applicable — the only two decisions over which it would have subject-matter jurisdiction under section 2001.038132 — because neither of those two determinations, or an order enjoining the rule's enforcement, would have any legal effect on the already-final and unappealable (and, in fact, statutorily free from judicial review) accountability ratings of the Charter Schools.133 Stated another way, any justiciable controversy regarding Rule 109.1002 and the Charter Schools' accountability ratings — either standing alone or in the context of the revocation proceedings — was rendered moot when those ratings became final and unappealable.134 A decision determining that Rule 109.1002 is invalid and enjoining its further enforcement would not benefit appellees.
E. Section 7.057(d)
In a final argument that touches upon many of the issues and claims addressed above, American YouthWorks asserts that the Legislature expressly waived sovereign immunity for each of its claims against TEA and the Commissioner under section 7.057 of the Education Code, which provides that "[a] person aggrieved by an action of the agency or decision of the commissioner may appeal to a district court in Travis County."135 Specifically, American YouthWorks asserts that the revocation of its charter is a "decision of the commissioner" and any limitations on judicial review established by section 12.116 do not apply because it has not yet appealed that decision to SOAH under section 12.116 — i.e., it is not a final agency order. American YouthWorks also asserts, using similar logic, that section 7.057 authorizes judicial review of its performance ratings because those ratings are "an action of the agency" that they are "aggrieved by."136 We disagree.
Regardless of section 7.057's prior effect, the plain language of section 12.116 prohibits judicial review of the Commissioner's charter-revocation decisions.137 Accordingly, absent viable constitutional or ultra vires claims, the Charter Holders have no right to appeal the Commissioner's revocation decision.138 Further, American YouthWorks's reading of section 7.057 is overly broad. These types of jurisdictional statutes must be construed in the context of long-established limitations on the judicial review of agency orders.139 For example, in Sun Oil Co. v. Railroad Commission, the supreme court faced similar statutory language that purported to grant a right to appeal from "any decision, rate, charge, rule, order, act, or regulation" of an agency.140 After noting that such language "would, literally speaking, permit [] an appeal from anything whatever that the Commission might do or not do," the court nevertheless limited the grant of jurisdiction to final agency orders because the language was "undoubtedly not intended to be free of all limitation."141 Likewise, Texas courts have limited section 5.351 of the Water Code, which appears similarly broad,142 to the review of "final agency orders" and to administrative actions that are regulatory in nature and only upon the exhaustion of all administrative remedies.143 Based on the Legislature's clear prohibition on judicial review of the Commissioner's revocation decision and on these well-established jurisdictional principles, we hold that section 7.057 does not grant the review American YouthWorks seeks here.
The Charter Holders have failed to affirmatively allege facts that invoke the district court's inherent jurisdiction to protect against ultra vires or unconstitutional agency actions.144 Further, we are not aware of any way in which they could cure these jurisdictional defects through repleading145 and, in fact, their pleadings and the undisputed jurisdictional evidence affirmatively negate the facts required to plead and support their constitutional and ultra vires claims.146 Accordingly, the Charter Holders' claims are barred by sovereign immunity. Having so determined, we need not address the State Parties' challenge to the temporary injunctions.
III.
CONCLUSION
Because the district court lacked subject-matter jurisdiction over the Charter Holders' claims, we vacate the district court's orders granting the temporary injunctions, dissolve the temporary injunctions, and render judgment dismissing the Charter Holders' suits for want of jurisdiction.