Catalyzes the stereospecific NADPH-dependent reduction of the C4-C5 double bond of bile acid intermediates and steroid hormones carrying a delta(4)-3-one structure to yield an A/B cis-ring junction. This cis-configuration is crucial for bile acid biosynthesis and plays important roles in steroid metabolism. Capable of reducing a broad range of delta-(4)-3-ketosteroids from C18 (such as, 17beta- hydroxyestr-4-en-3-one) to C27 (such as, 7alpha-hydroxycholest-4-en-3- one). {ECO:0000269|PubMed:11342103, ECO:0000269|PubMed:18407998, ECO:0000269|PubMed:20522910, ECO:0000269|PubMed:21255593, ECO:0000269|PubMed:7508385}. This is the function of ENSG00000122787 (AKR1D1, aldo-keto reductase family 1 member D1).