x3.
Our family owns a 96 C36, thus have done a few miles in it , and struggle to see how the C36 is a much worse value for money car compared to the 540i.Whilst it is an AMG , its intention was never to tackle the likes of the E36 M3 or M5 (which many people believe it was meant to), as Apex said , its purpose was to be a tourer with the options such as full electric seats , Bose sound system , Sat Nav, only avaliable in auto e.t.c .
Try selling a 540i now or even in 5-10 years compared to a C36 and one would note there would be a significant resale value difference between the two.