Paris demanded an investigation and accountability after two French diplomats were detained and questioned in Tehran, while Iran accused the diplomats of unacceptable conduct.