Heat the olive oil in the pan and fry the garlic slices and mushrooms until the resulting liquid has evaporated completely. Add the sherry vinegar. Add the plucked herbs and bring to the boil. Season to taste with salt, pepper and sugar. Let it cool down and let it steep for at least 2 hours.