“It Was Just an Accident,” the Iranian film directed and written by Jafar Panahi (“The White Balloon”), was the winner of this year’s Palme d’Or at Cannes and, somewhat inexplicably, is France’s submission for Best International Film at the 2026 Academy Awards.