Preheat the oven to 200C / 390F.
In a shallow casserole dish, heat some olive oil and gently saute your sliced garlic until it's starting to brown. Add the smoked paprika, oregano and chili flakes, and stir for a moment until fragrant
Add the tomatoes, sugar and red wine vinegar. Stir the sauce and simmer for 5 minutes.
Drain and rinse the butter beans, then add to the sauce.
Remove from the heat and arrange the halloumi on top of the sauce.
Bake, uncovered, for 20 minutes until bubbling. If you want to get the halloumi browned on top, turn on the grill / broiler for the last 5 minutes.
Add the parsley or coriander, if using, and serve immediately.
