
Heat the oven to 220°C/gas mark 7.
Heat 1 tablespoon of the oil in a shallow, ovenproof casserole dish over a medium heat, then gently fry the sausages for 5-8 minutes or until browned all over.
Transfer the sausages to a plate using tongs and set aside.
Tip the onion into the pan, then fry for 5-8 minutes until beginning to turn golden, drizzling in a little more oil if the onion starts to stick.
Sprinkle in the sugar, then cook for a further minute before stirring in the vinegar, tomato purée, and paprika to form a paste.
Tip in the chopped tomatoes, then pour the wine into the can, swish it around, and add it to the pan.
Stir in the bay leaves and beans, then arrange the sausages on top so that they are half submerged in the sauce but still a little exposed.
Bring the mixture to a simmer, then transfer to the oven and bake for 20 minutes.
Meanwhile, make the topping by mixing the breadcrumbs, garlic, parsley, 1 tablespoon of oil, and some seasoning together.
Scatter the topping over the casserole, then drizzle with the remaining tablespoon of oil.
Bake for a further 10 minutes until the breadcrumbs are golden and crisp.
Leave to stand for a few minutes before serving.
