If your olives are in brine, drain them well and pat dry with a paper towel or clean kitchen towel.
Zest the lemon into a small bowl, then juice the lemon into a separate cup. Set both aside.
Warm the olive oil in a 16 cm / 6-inch saucepan over low heat. Add the sliced garlic, rosemary, thyme, chili flakes, peppercorns, and bay leaf.
Warm for 2 to 3 minutes, swirling the pan, until the garlic turns pale gold at the edges and the herbs smell fragrant. Pull the pan off the heat right away, garlic turns bitter fast once it browns.
Let the oil cool for 5 minutes, then stir in the lemon zest and lemon juice.
Put the dried olives into a 500 ml / 16 oz jar or a mixing bowl.
Pour the warm oil mixture over the olives, including the garlic slices and herbs. Stir or shake gently so every olive gets coated.
Let the olives marinate at room temperature for at least 2 hours, or cover and refrigerate overnight for deeper flavor.
Bring to room temperature before serving if chilled, and stir once more. Taste one, then adjust with a pinch of salt if needed.