Place the pan over a medium-high heat for 3–4 minutes, until the sugar dissolves, then shake gently as it caramelises to a toffee colour and starts to bubble up the sides. Transfer to the oven and bake for 30–35 minutes, until the pastry is golden brown. Leave the tarte to stand for 10 minutes, then invert it carefully onto a serving dish.