Art. 24. Prisoners of war may be interned in a town, fortress, camp, or other place, under obligation not to go beyond certain fixed limits; but they can only be placed in confinement as an indispensable measure of safety.