; supporting documents An answer filed under subparagraph (A) shall include— (i) a brief statement of the actions taken by the Chief; and (ii) a copy of any documents or records on which the Chief based his or her action. (5) Review by court (A) In general The court shall review the petition, the answer, and any records or documents submitted with the petition or the answer. (B) Conduct of review The court shall conduct the review under this paragraph without a jury but may schedule a hearing and take testimony. (6) Reversal The court shall reverse the Chief’s action if the court finds— (A) that the Chief failed to follow any procedure, or take any action, prescribed under this section; (B) that the Chief erroneously interpreted a provision of law and a correct interpretation compels a different action; (C) that the Chief’s action depends on a finding of fact that is not supported by substantial evidence in the record; (D) if the appeal is regarding a denial, that the denial was based on factors other than the factors under subsection (d); or (E) if the appeal is regarding a suspension or revocation, that the suspension or revocation was based on criteria other than the criteria under subsection (l). (7) Relief (A) In general The court shall provide whatever relief is appropriate regardless of the original form of the petition. (B) Costs and fees If the court reverses the Chief’s action, the court shall order the Chief to pay the aggrieved individual all court costs and reasonable attorney fees. (o) License expiration and renewal (1) Period of validity A license issued under this section shall be valid for the 5-year period beginning on the date on which the license is issued unless the license is suspended or revoked under subsection (l). (2) Notice of expiration (A) Form The Chief shall design a notice of expiration form. (B) Mailing of notice Not later than 90 days before the expiration date of a license issued under this section, the Chief shall mail to the licensee— (i) the notice of expiration form