(B) The city or any chief petitioner may seek a declaratory judgment regarding any questions arising under this subchapter, as it may be from time to time amended, including, but not limited to, determining whether a measure is subject to referendum or limited referendum or whether a measure may be enacted by initiative. If a chief petitioner seeks a declaratory judgment, the city shall be served by personal, residence or certified mail service upon the Chief Executive Officer or Clerk. If the city seeks a declaratory judgment, only the chief petitioners shall be required to be served. Any action brought for declaratory judgment for purposes of determining whether a measure is subject to limited referendum or referendum, or whether a measure may be enacted by initiative, may be filed in the district court at any time after the filing of a referendum or initiative petition with the City Clerk for signature verification until 40 days from the date the governing body receives notification pursuant to §
30.086. If the city does not bring an action for declaratory judgment to determine whether the measure is subject to limited referendum or referendum, or whether the measure may be enacted by initiative, until after it has received notification pursuant to §
30.086, it shall be required to proceed with the initiative or referendum election in accordance with the provisions of this subchapter. If the city does file such an action prior to receiving notification pursuant to §
30.086, it shall not be required to proceed to hold the election until a final decision has been rendered in the action. Any action for a declaratory judgment shall be governed generally by Neb. RS 25-21,149—25-21,164, except that only the city and each chief petitioner shall be required to be made parties. The City Clerk, governing body or any of the city’s officers shall be entitled to rely on any order rendered by the court in any such proceeding. Any action brought for declaratory judgment pursuant to this section shall be given priority in scheduling, hearings and disposition as determined by the court when an action is brought to determine whether the measure is subject to limited referendum or referendum, or whether a measure may be enacted by initiative, and