local environmental law or regulation, such omission or action shall not be considered a violation of such environmental law or regulation, or subject such party to any requirement, civil or criminal liability, or a citizen suit under such environmental law or regulation. (4) Expiration and renewal of waivers A waiver issued under this subsection shall expire not later than 90 days after it is issued. The Administrator may renew or reissue such waiver pursuant to paragraphs (1) and (2) for subsequent periods, not to exceed 90 days for each period, as the Administrator determines necessary to meet the national security or energy security needs described in paragraph (1) and serve the public interest. In renewing or reissuing a waiver under this paragraph, the Administrator shall include in any such renewed or reissued waiver such conditions as are necessary to minimize any adverse environmental impacts to the extent practicable. (5) Subsequent action by court If a waiver issued under this subsection is subsequently stayed, modified, or set aside by a court pursuant a provision of law, any omission or action previously taken by a party under the waiver while the waiver was in effect shall remain subject to paragraph (3). (6) Critical energy resource