If I understand it correctly, the OPs flight will be on LH metal, booked under an AI flight no. So if applying the M&M rules, you should even get status miles and the exec. Bonus, if you were FTL, SEN or HON.
But I don't know if they make an execption if you are booked on a non star alliance member airline's flight no.