During World War II, the Japanese hated Allied "coastwatchers" on Pacific Islands who observed and reported their movements, and therefore hunted, captured and executed many of them. Under what circumstances might the Japanese be within their rights?
If an Allied person "fraternized" with Japanese soldiers or officers and was caught gathering intelligence, that would be "spying," subject to execution.
If an Allied person was carrying a firearm, or even a blade weapon while out of uniform, and used it against a Japanese soldier he encountered, that would be illegal activity by a non-combatant, and also subject to summary execution. Then the main question is, would wa "recording device" such as a camera legally constitute a "weapon" in this context? How about pencil and paper?
Put another way, if an Allied civilian were unfortunate enough to encounter a Japanese soldier or sailor, how much resistance would he have to put up before he could "legally" be put to death.