; (B) adopt the least intrusive means to correct the violation of law; (C) minimize, to the greatest extent practicable, the adverse impact on national security, border security, immigration administration and enforcement, and public safety; and (D) provide for the expiration of the relief on a specific date, which is not later than the earliest date necessary for the Government to remedy the violation. (2) Written explanation The requirements described in paragraph (1) shall be discussed and explained in writing in the order granting prospective relief and shall be sufficiently detailed to allow review by another court. (3) Expiration of preliminary injunctive relief Preliminary injunctive relief granted under paragraph (1) shall automatically expire on the date that is 90 days after the date on which such relief is entered, unless the court— (A) finds that such relief meets the requirements described in subparagraphs (A) through (D) of paragraph (1) for the entry of permanent prospective relief