The synthesis of diastereoisomers via diastereoselective hydrogenation of unreactive endocyclic enamine system of ethyl 4-hydrazinyl- and 4-(2-hydroxyethylamino)-5-oxo-2,5-dihydro-1H-pyrrole-3-carboxylates using palladium-based catalyst was developed. The steric and electronic properties of substituents, especially of the C2 substituent, influenced both the yield and diastereoselectivity. Despite the reaction generated three chiral centers, the reduced compounds had either cis–trans or all-trans configuration which was successfully determined by means of 1D and 2D NMR experiments.