If you look at the tire pressure chart on your driver's door door/jamb...or in the owners manual...BMW gives multiple tire size recommendations.
ALL of the tire sizes listed in the owners manual and door jamb are within allowable rolling diameter/circumference specifications and can be used.
But as mentioned above...the spare tire well will only fit either the 17" (possibly the 18", too) tire/wheel combo. The 19" & 20" wheel/tire combo will stick up to far to allow the cargo floor to fit properly in place.
My 06 came with 18" 153 wheel style...but the spare is a 17" wheel/tire combo. BMW started putting the smaller spare back around the early 2000s (to save money). The first time I heard of it was for the 2003 e39 model year. There were guys/gals that had ordered the 540i M-sport which was supposed to come with five 18" Style 37 MPars...but some started getting letters from BMW that they would only get four 18" MPars, and the spare would be a lesser 17" wheel/tire.
Again, all of the tire sizes listed in the pages from the owners manual below have the same rolling diameter/circumference and can be mounted without causing issues. In fact, the standard spare tire/wheel for the 18"/19"/20" set-ups is the 17" spare tire/wheel...unless you have the compact 19" emergency spare tire: