The other sensor that may be playing up is the "tilt sensor"...this is a considerably more expensive sensor to replace and its located close to the rear wheel well from memory...sorry I don't remember which side its on...I recall someone posting some BMW tech documents on it though in the old Z4um forum so someone else might know..
Speaking of Z4um...as much as I love z4-forum I've noticed there isn't as much technical postings/How To's being contributed which is a real shame as they are a fantastic resource for Z4 research...