Whenever any bank refuses or neglects to deliver possession of its affairs, assets, or property of whatever nature to the department or to any person ordered or appointed to take charge of such bank according to the Nebraska Banking Act, the director shall make an application to the district court of the county in which the main office of such bank is located or to any judge of such court for an order placing the department or such person in charge thereof and of its affairs and property. If the judge of the district court having jurisdiction is absent from the district at the time such application is to be made, any judge of the Court of Appeals or Supreme Court may grant such order, but the petition and order of possession shall be immediately transmitted to the clerk of the district court of the county in which the main office of such bank is located.