sorry to hear about this... hopefully things will turn out ok for you.
chances are they will not buy back your car. but im sure you could negotiate something with bmw. and about the poor service, perhaps call bmw head office and talk tot hem about your case.
good luck