Preheat your oven to 400°F (200°C) and line a large rimmed baking sheet with parchment paper.
Pat the pork tenderloin completely dry with paper towels to ensure a good sear in the oven.
In a small bowl, combine the minced garlic, chopped rosemary, chopped thyme, sea salt, black pepper, and olive oil to create a paste.
Rub the herb paste evenly over all sides of the pork tenderloin.
Place the pork on one side of the prepared baking sheet and roast for 10 minutes.
While the pork is roasting, trim the ends of the fresh green beans.
Carefully remove the baking sheet from the oven, add the green beans to the empty side, and toss them lightly in the juices from the pan.
Return the sheet to the oven and roast for another 12-15 minutes, or until the pork reaches an internal temperature of 145°F.
Remove from the oven and transfer the pork to a cutting board to rest for at least 5-8 minutes before slicing.
Toss the roasted green beans with a squeeze of fresh lemon juice and serve alongside the sliced pork.