For the quail Crush the fennel and coriander seeds in a mortar and pestle and transfer to a medium, heavy-based saucepan.
Add the soy sauce, fish sauce, orange juice and zest, cinnamon, star anise, bay leaves, honey, brown sugar and chilli, bring to a simmer and cook until reduced by half. Remove from the heat and set aside.
Heat a heavy-based frying pan on a medium-high heat, add a little oil and gently brown the quails for about 2 minutes on each side to render the fat from beneath the skin and to caramelise the skin. If the pan is too hot, you will seal the skin trapping the fat inside. When browning the birds on their sides, allow the thighs to brown for an extra minute to get some heat into the meat.
Cut the quails in half and arrange, skin side up, on a rack in a roasting tray.
Pour the spicy caramel syrup over the sealed quails, then pour any excess caramel back into the saucepan and continue to reduce. Spoon over a second layer of reduced syrup, pouring the excess back into the saucepan again. Repeat this process 3-6 times, which should take about 40 minutes. If you run out of lacquer, put 200ml water and 1 tablespoon sugar into the pan and continue to reduce. The aim is to build up layers of the ever-thickening spicy caramel mixture.
Preheat the oven to 200C/180C fan/gas 6.
Put the lacquered quail, skin side up, into a hot oven and roast quickly for about 10 minutes until they are medium-rare, so that the breast stays pink and moist and the outside is coated in the intense spicy caramel.
Remove from the oven and rest in a warm place for 10 minutes.
For the green papaya salad: preheat the oven to 180C/160C fan/gas 4.
. Use a vegetable peeler to peel the papaya or mango into thin strips, working all the way down to the stone. Stack the slices into piles of about 5 or 6 pieces. With a sharp knife, cut the stacks into thin matchsticks and put into a serving bowl.
. Put the peanuts on an oven tray and roast for about 3-4 minutes until pale golden. Do not allow them to get too dark because they will be bitter. Remove from the oven and leave aside to cool.
. Put the chillies, garlic and sugar in the mortar and pestle with a pinch of salt and pound until you have a smooth paste. Add the dried prawns, if using, and continue to pound.
. Add the cherry tomatoes, shallots and palm sugar to the mixture and continue to pound for another minute. Keep turning the mixture over from the bottom so the paste gets completely mixed through.
. Add the lime juice, fish sauce and 2 tablespoons of the roasted peanuts, pounding until the peanuts are coarsely broken up.
. Check the seasoning – it should be hot from the chilli, sour from the lime juice, salty from the fish sauce and sweet from the sugar. Adjust if necessary, then pour the sauce over the shredded papaya or mango and mix well.
. Coarsely chop the remaining roasted peanuts.
. To serve, put two quail halves on each plate, then add some papaya salad, tear over the coriander leaves and sprinkle with chopped peanuts.