Jafar Panahi’s revenge thriller “It Was Just an Accident”, an indictment of political oppression in the Iranian filmmaker’s home country, won the Palme d’Or at the 78th Cannes Film Festival on Saturday, wrapping up a politically charged French Riviera gathering that was briefly disrupted on its final day when a suspected arson attack caused a major power outage.