Set oven to 350°F (175°C).
Dry the pork loin with paper towels, then sprinkle with salt and freshly ground pepper.
On the stovetop, warm a Dutch oven over high heat and pour in a small amount of olive oil.
Lay the pork in the pot with the fat side facing up and sear for at least 4 minutes to build a deep brown crust on the surface.
Turn the pork over and continue searing until all sides are browned.
Move the pork to a clean plate. In the same pot, cook the onion and apple (if using) until they start to color.
Pour in some of the sauerkraut liquid to deglaze, loosening the browned pork bits from the bottom.
Put the pork back in the pot and add the rest of the sauerkraut.
Cover and place in the oven for 2 hours, or until the internal temperature reads at least 145°F (65°C).
Take out of the oven and transfer the pork and sauerkraut to a serving platter. Allow the meat to rest for 15 minutes before carving so the juices can redistribute.