Bmw x5 2003 code to start car

Hi i dont know if anyone could help me with this
My battery died on my 2003 bmw x5
Now it ask to put a code in on the center console. Which is the radio/sat nav
I dont know this code. Ive tried the normal 0000 and 1111 and 1234
It just set the alarm off if you put the wrong code and ive had rac take the battery off because on the system it says to do that and then reconnect it because it will unlock the code but no joy
Any help would be appreciated