5-2-106. Legislative standing to institute or defend lawsuit -- compelling enforcement of legislative enactments. (1) The legislature has standing to sue or defend a lawsuit on behalf of the legislature in the courts of this state when:
(a) a challenge to the constitutionality of legislation enacted by the legislature is at issue in a lawsuit; or
(b) (i) legislation enacted is not being implemented by an entity with the duty to execute the law, thereby impeding compliance with legislation, session law, or a statute;
(ii) the alleged injury to the legislature due to the failure to implement a statute is distinguishable from the injury to members of the public even if they suffer an injury; and
(iii) the alleged injury to the legislature would effectively be immunized from review if the legislature did not have standing.
(2) (a) Before the legislature may pursue the remedy provided in subsection (1)(b), a demand letter provided for in subsection (2)(b) must be provided to the entity with the duty to execute or implement the law. If the public officer of the entity fails to respond in writing within 30 days of receipt of the letter by indicating that the entity will address the concerns in the letter immediately, the legislature may provide consent through the procedure in subsection (3) to initiate a lawsuit to ensure compliance with a statutory duty through a petition for mandamus. The provisions of Title 27 related to mandamus and related case law do not apply to this section. To prevail, the legislature is not required to prove that it or other parties have no alternative adequate remedy to obtain compliance with statutory duties.
(b) The demand letter provided for in subsection (2)(a) must:
(i) be in writing and reference the legislation, session law, or statute that is not being implemented by the entity;
(ii) provide any relevant information for the entity to consider regarding the alleged failure to comply with the law;
(iii) be signed by one or more sitting legislators; and
(iv) provide notice that it is issued pursuant to the authority of this section.
(3) Legislative consent to initiate an action under this section may be obtained by:
(a) a majority vote in each house on a joint resolution during a regular or special session of the legislature; or
(b) a majority vote in each house through a poll of the legislature as provided for under subsection (4) when the legislature is not in session.
(4) (a) When the legislature is not in session, if 20 or more legislators request a poll in writing pursuant to subsection (3)(b), the secretary of state shall poll the members of the legislature to determine if a majority of the members of the house of representatives and a majority of the members of the senate are in favor of a legislative declaration to pursue an action under subsection (1)(a) or (1)(b).
(b) The request must:
(i) state the conditions warranting the poll;
(ii) if applicable, contain the demand letter sent to the entity provided for in subsection (2) and any written response from the entity; and
(iii) contain a legislative declaration that addresses the action sought or issue to be addressed and the type of action to be pursued in subsection (1).
(c) Within 3 calendar days after receiving a request, the secretary of state shall send a ballot to all legislators by using any reasonable and reliable means, including electronic delivery, that contains:
(i) the legislative declaration subject to the vote; and
(ii) the date by which legislators shall return the ballot, which may not be more than 10 calendar days after the date the ballots are sent.
(d) A legislator may cast and return a vote by delivering the ballot in person, by mailing, or by sending the ballot by facsimile transmission or electronic mail to the office of the secretary of state. A legislator may not change the legislator's vote after the ballot is received by the secretary of state. The secretary of state shall tally the votes within 1 working day after the date for return of the votes. If a majority of the members of each house vote to approve the declaration, the declaration that was sent with the ballot has the force and effect authorizing the action requested in the declaration. A ballot that is not returned by the deadline established by the secretary of state is considered a vote against the declaration.
(5) Nothing in this section supersedes the authority of the attorney general to represent the state of Montana.