Preheat the oven to 200°C. Season the chicken with salt and freshly ground black pepper on all sides.
Melt the butter with the olive oil in a frying pan. Add half the chicken thighs, skin-side down, and sauté until the skin turns golden brown. Turn the chicken over and cook for 1 minute on the other side. Transfer to a bowl. Repeat with the remaining chicken and transfer it to the same bowl.
In the same pan, add the onion and garlic. Sauté, stirring, for a few minutes until the onion softens and begins to turn golden.
Sprinkle the flour into the pan and stir. Add the Commandaria. Once it comes to a boil, add the chicken stock, mustard, parsley and tarragon. Season with salt and pepper, then transfer the contents of the pan to an ovenproof baking dish. Arrange the sautéed chicken thighs on top, skin-side up.
Place the dish in the oven and bake for 20 minutes. Add the cranberries and continue baking for another 20 minutes.
Next, use a spoon to baste the chicken thighs with the cooking juices from the dish. Continue baking for a further 5 minutes. Baste once more with the juices and bake for another 5 minutes.
Serve with rice or mashed potatoes.