EC 261/2004 delay compensation is not due from AC. The MAX was grounded by government (EU) order and that is a sufficient "extraordinary circumstance" as one need not analyze what AC could have done (short of, perhaps, bribing the EASA not to issue its order.
).