That's one really nice E31
4.0 M60, as its a 840i
4.4 M62s were in the 840Ci versions.
It's actually a 840i, with a changed badge, cheeky.
I don't think it matters which engine they have really, E31 should have come with an S62 as a factory option, and a rack & pinion front steering setup.