Sez the Geneva Conventions and the Rules of War.
Geneva Conventions? Uh, actually, the relevant ones have to do with OUR treatment of THEM... Please point to a section where it says that detained civilians are considered "spies"...unless you are unaware that many of the detainees were not battlefield prisoners.