Notwithstanding any other law, if all or any part of the territory of the district is annexed by the city into the city’s corporate limits, the district retains all of the district’s outstanding debt and obligations and continues to operate under this chapter until the district is dissolved under Subchapter G.