Reissert compound chemistry. Part IV. N-acyl pseudo-base formation and stereochemistry