A respected medical expert has approved the continuation of two consultant-led maternity units in coastal towns.