Downshift, overrev, smoke suggests to me that a tranny problem was the trigger and the engine was an unfortunate victim. Check the 722.6 for codes before you buy a replacement engine. There might be a longer shopping list

in fact, check the CAN for codes as well if the shop has SDS equipment. It should help determined the sequence of events.
Sixto
87 300D