S(Cl)(Cl)=O.N1C=CC=C([C:11]2[N:19]3[C:14]([CH2:15][CH2:16][CH2:17][CH2:18]3)=[C:13]([C:20]([OH:22])=[O:21])[CH:12]=2)C=1>C(Cl)(Cl)Cl.CN(C)C=O>[N:19]1[CH:14]=[CH:15][CH:16]=[C:17]([C:12]2[C:13]([C:20]([OH:22])=[O:21])=[C:14]3[N:19]([CH:11]=2)[CH2:18][CH2:17][CH2:16][CH2:15]3)[CH:18]=14.3 cm3 of thionyl chloride are added dropwise to a suspension 4.8 g of 3-(3-pyridyl)-5,6,7,8-tetrahydroindolizine-1-carboxylic acid in 120 cm3 of chloroform, followed by a few drops of dimethylformamide. The resulting suspension is then stirred at ambient temperature for 16 hours (slow gas release) and is then heated to reflux (75° C.) for 1 hour, at the end of which there is no further gas release. It is then cooled to ambient temperature and then concentrated at reduced pressure (2.7 kPa) and taken up twice in ethanol-free dichloromethane and then concentrated again in the same way. 5.4 g of 3-(3-pyridyl-5,6,7,8-tetrahydroindolizine-1-carboxylic acid are thus obtained in the form of a greenish solid. (Rf=0.44; thin layer chromatography on silica gel; eluent: 10/90 by volume mixture of methanol and of dichloromethane).