I would not put it as an ultimatum but phrase it more like you are concerned. Don't lie to her, just say that you don't like the way the bf treats the afm girl and ask her what she sees in him? But in the end do what makes you the most happy, because no one else will do that for you.
Have a great day!