Safety regulator allowed the aircraft to continue flying despite its own analysis flagging warnings.