I know this is way way too late, but for future reference, you can reset the code on your BMW's radio by putting the keys in the ignition, turning to "Acc", and leaving the car for about an hour with the radio off (I think its actually 45 min, but leave it for an hour). This will reset the code entry prompt so you can then enter in the correct code.
Dan