It also makes it easier/cheaper for BMW to do a range of 'M' cars with the same engine but different characteristics - all with a simple bit of reprogramming.
For example, a high-power, lower-torque version for the Z4/1M/M3 and a mid-power/high-torque version for the soft-roaders and luxo-barges X5M/X6M/7 series.