This is why.
You don't judge spies. You kill them. Who is a spy? Anyone that fights without a uniform.
Before killing them you may ring them dry. But you never treat them as common soldiers. If they want to fight then blend into a crowd, they should pay the consequences.