(a) Any organization, unit, or detachment of the organized militia, upon order of the officer in immediate command thereof, may continue in fresh pursuit of insurrectionists, saboteurs, enemies, or enemy forces beyond the borders of this state into another state until they are apprehended or captured by the militia organization, unit, or detachment or until the military forces of the other state or the forces of the United States have had a reasonable opportunity to take up the pursuit or to apprehend or capture such persons; provided, however, that the other state shall have given authority by law for the pursuit by the forces of this state. Any such persons who shall be apprehended or captured in the other state by an organization, unit, or detachment of the forces of this state shall, without unnecessary delay, be surrendered to the military or police forces of the state in which they are taken or to the United States; but the surrender shall not constitute a waiver by this state of its right to extradite or prosecute the persons for any crime committed in this state.
(b) Any military forces or organization, unit, or detachment thereof of another state which is in fresh pursuit of insurrectionists, saboteurs, enemies, or enemy forces may continue such pursuit into this state until the military or police forces of this state or the forces of the United States have had a reasonable opportunity to take up the pursuit or to apprehend or capture such persons and are authorized to arrest or capture the persons within this state while in fresh pursuit. Any such persons who shall be captured or arrested by the military forces of the other state while in this state shall, without unnecessary delay, be surrendered to the military or police forces of this state to be dealt with according to law. This Code section shall not be construed so as to make lawful any arrest in this state which would otherwise be unlawful.