Welcome to United Bimmer.
Im suprised the car still failed. Their may be an issue with the car running to rich. If possible have the OBD system scanned for trouble codes. If you know someone with the BMW Carsoft program they can see the live engine data and maybe see why the car is still failing.