It was the last 6 cylinder model M3.
I test drove the Z4 M Coupe before buying the TT. Great car, great engine, very boring interior but mostly it isn't a car you can drive 10/10ths unless you have a spare air field. Sure you can get it sideways and have fun but unless you are a Finnish rally...