Unexpected rearrangement of enantiomerically pure 3-aminoquinuclidine as a simple way of preparing diastereomeric octahydropyrrolo[2,3-c]pyridine derivatives.