However, the code envisioned a reciprocal relationship between the population and the Army. As long as the population did not resist military authority, it was to be treated well. Should the inhabitants violate this compact by taking up arms and supporting guerrilla movements, then they were open to sterner measures. Among these were the imposition of fines, the confiscation and/or destruction of property, the imprisonment and/or expulsion of civilians who aided guerrillas, the relocation of populations, the taking of hostages, and the possible execution of guerrillas who failed to abide by the laws of war. It authorized the shooting on sight of all persons not in uniform acting as soldiers and those committing, or seeking to commit, sabotage.