Should I buy BMW certified X1 with accidents?

Hi folks, would appreciate some advice on whether I should consider buying a 2017 BMW X1 which is being sold by the dealer as a BMW certified car but had multiple accidents on the Carfax. Essentially, I am trying to understand how much credibility the certification has.

The car is around 40k kms and is priced at Canadian 27k which I think is a great deal otherwise. They also have another 2017 X1 with similar stats but no accidents and also not certified.

Thankful for any tips offered. Location: BC, Canada