Peel and finely chop the onion. Wash the chillies, cut lengthwise and remove seeds. Cut the pods into thin rings. Fry onion and chilli in a tablespoon of hot oil. Add the sauerkraut, fry and pour on 1/4 litre of water.
Add juniper berries, bay leaf and green peppercorns and braise at low heat for 45 minutes. Season to taste with salt, sugar and paprika. In the meantime, cut the skin off the pineapple.
Cut the pineapple into slices and cut out or cut the hard stalk in the middle. Fry the pineapple slices in the remaining hot oil on both sides. Place two to three slices on each plate.
Spread the sauerkraut over it. Garnish as desired with pineapple leaves and chilli peppers.