On the e39 the main differences are front and rear bumpers, quad exhaust , mirrors, and rims. The '03 540 sport package has bumpers very similar to the m5. The mirrors and quad exhaust are the biggest giveaways. Starting in 2001 all the non M e39s came with painted moldings, while the m5 (and the '03 sport package) retained the black moldings.