1. Grind the pistachios coarse in a food processor with the sugar, pulsing rather than running it. Remove 40 g, grind it finer, and set aside for the garnish.
2. Unroll one package of phyllo and lay the sheets flat. Set the pan upside down on top and cut around it so every sheet matches the pan. Return the trimmed stack to its plastic sleeve. Repeat with the second package. Save the trimmings for another use.
3. Melt 200 g of the butter gently, without letting it color.
4. Butter the pan thoroughly with the remaining 50 g of soft butter.
5. Lay the first package of trimmed sheets into the pan one at a time, brushing each with melted butter.
6. Spread the ground pistachios over the surface in an even layer.
7. Lay the second package of trimmed sheets on top, brushing each with melted butter. Tuck the edges down inside the pan and pour any remaining butter over.
8. Refrigerate 30 minutes, until the butter is firm.
9. Cut all the way through to the base of the pan, into diamonds, using a long sharp knife.
10. Mist the surface lightly with water.
11. Bake at 170°C / 340°F, conventional heat, middle rack, for 30 minutes, until golden.
12. Reduce the oven to 150°C / 300°F. Meanwhile, bring the sugar, water and lemon slices to the boil.
13. Remove the baklava. Pour off any pooled butter.
14. Pour the hot syrup over the hot baklava slowly, a ladle at a time, letting each addition absorb before adding more.
15. Scatter the reserved ground pistachio over each diamond.
16. Cool completely, uncovered and out of the fridge, before serving. Best on the second or third day.