In Return of the Jedi (1983), C-3PO and R2-D2 pretend to surrender to Imperial stormtroopers, only to have them ambushed by Ewok combatants. The technical term for feigning surrender is called "perfidy", and it is considered a war crime according to The Geneva Conventions Protocol I, Article 37