Preheat the oven to 375°F (190°C).
Combine olive oil, minced garlic, rosemary, thyme, kosher salt, and black pepper in a small bowl to create a paste.
Pat the pork loin dry with paper towels and rub the herb paste evenly over all sides of the meat.
Place the pork in a roasting pan and bake for 40 to 45 minutes, or until an internal meat thermometer registers 145°F (63°C).
Remove the pork from the oven and transfer to a cutting board; let it rest for 10 minutes to allow juices to redistribute.
While the pork rests, bring a large pot of salted water to a boil and cook the green beans for 3 to 4 minutes until tender-crisp.
Drain the green beans and immediately toss them in a skillet over medium heat with the butter and sea salt for 2 minutes.
Slice the rested pork loin into 1-inch thick medallions and serve immediately with the sautéed green beans.