Story here:-
Outrage as airline orders stewardesses to wear Islamic-style headscarf when flying to Iran | World | News | Daily Express
Surely, a French-registered aircraft is technically "French soil" (same as a ship flying the French flag). Therefore Iranian law would not apply on board the aircraft, even if it had landed at Tehran International Airport.