; (ii) the person filing the petition demonstrates, by clear and convincing evidence, that it is technically impossible for the person to make any change to the way the hardware, software, or other property of the person behaves in order to comply with the directive; or (iii) the directive is otherwise unlawful. (B) Denial If none of the bases for granting a petition under subparagraph (A) are met, the court shall deny the petition. (C) Ex parte review (i) In general In considering a petition filed under paragraph (1), the court may review any information that the Attorney General, upon filing an affidavit under oath that disclosure of the information would harm the national security of the United States or harm the enforcement of criminal law, chooses to provide to the court solely for ex parte review. (ii) No waiver of privilege The exercise of the authority under clause (i) does not waive any applicable privilege. (3) Initial review (A) Deadline Not later than 30 days after the date on which a petition is filed under paragraph (1), the court shall conduct an initial review of the petition. (B) Review If the court determines that the petition does not consist of claims, defenses, or other legal contentions that are warranted by existing law or by a non-frivolous argument for extending, modifying, or reversing existing law or for establishing new law, the court shall immediately— (i) deny the petition; (ii) affirm the directive or any part of the directive that is the subject of the petition