(1) The department or its duly authorized agent may apply for and obtain a superior court order approving and authorizing a subpoena in advance of its issuance. The application may be made in the county where the subpoenaed person resides or is found, or the county where the subpoenaed records or documents are located, or in Thurston county. The application must:
(a) State that an order is sought pursuant to this subsection;
(b) Adequately specify the records, documents, or testimony; and
(c) Declare under oath that an investigation is being conducted for a lawfully authorized purpose related to an investigation within the department's authority and that the subpoenaed documents or testimony are reasonably related to an investigation within the department's authority.
(2) Where the application under this subsection is made to the satisfaction of the court, the court must issue an order approving the subpoena. An order under this subsection constitutes authority of law for the agency to subpoena the records or testimony.
(3) The department or its duly authorized agent may seek approval and a court may issue an order under this subsection without prior notice to any person, including the person to whom the subpoena is directed and the person who is the subject of an investigation.
(4) This section does not preclude the use of other legally authorized means of obtaining records, nor preclude the assertion of any legally recognized privileges.
(5) The department may not disclose any return or tax information obtained in response to a subpoena issued under this section, except as under this chapter.
(6) A third party may not be held civilly liable for any harm resulting from that person's compliance with a subpoena issued under the authority of this section.
(7) The entire court file of any proceeding instituted under this section must be sealed and is not open to public inspection by any person except upon order of the court as authorized by law.