; (8) the term mental health agency means an agency of a State or local government or its contracted agency that is responsible for mental health services or co-occurring mental health and substance abuse services; and (9) the term national instant criminal background check system means the national instant criminal background check system established under section 103 of the Brady Handgun Violence Prevention Act ( 34 U.S.C. 40901 ). (b) Petition (1) In general A family or household member of the applicable individual, or a law enforcement officer, may submit to an appropriate district court of the United States a petition requesting that the court issue an ex parte extreme risk protection order or long-term extreme risk protection order with respect to an individual. (2) No fees A court may not charge a petitioner any fee for filing a petition under paragraph (1). (3) Confidentiality A petitioner who is a law enforcement officer may provide the identity of the petitioner's sources, and any identifying information, to the court under seal. (c) Ex parte orders (1) Timing (A) In general Except as provided in subparagraph (B), a court that receives a petition for an ex parte order under subsection (b) shall grant or deny the petition on the date on which the petition is submitted. (B) Late petitions If a court receives a petition for an ex parte order submitted under subsection (b) too late in the day to permit effective review, the court shall grant or deny the petition on the next day of judicial business at a time early enough to permit the court to file an order with the clerk of the court during that day. (2) Evidence required Before issuing an ex parte order, a court shall require that the petitioner submit a signed affidavit, sworn to before the court, that— (A) explains why the petitioner believes that the respondent poses a risk of imminent personal injury to himself or herself, or another individual, by purchasing, possessing, or receiving a firearm or ammunition