Enantiopure synthesis of all four stereoisomers of carbapenam-3-carboxylic acid methyl ester.