French authorities on Friday detained a man after receiving an alert from the Iranian consulate in Paris that someone had entered carrying an explosive.