Any person appointed by the commissioner to serve on the board of managers for an open-enrollment charter school or a campus of an open-enrollment charter school or as superintendent acts on behalf of the commissioner and is entitled to:
(1) sovereign immunity; and
(2) representation by the attorney general for any act or omission taken while acting in the person's official capacity.