Preheat the oven to 400°F (200°C). Generously butter a deep 9×9 inch (23×23 cm) baking dish and set aside.
Cook the onions: Melt the butter in a skillet over medium-low heat. Add the sliced onions and cook, stirring occasionally, for 8–10 minutes until soft and translucent. They should be tender and lightly golden — not browned. Remove from heat.
Prepare the potatoes: Peel and cut the potatoes into thin matchstick strips, roughly ¼ inch (6 mm) wide. Do not rinse them after cutting.
Mix the cream: In a small bowl or measuring jug, combine the heavy cream and sprat brine. Stir in the white pepper and nutmeg.
Layer the casserole: Spread an even layer of potato strips across the bottom of the prepared dish. Top with half the softened onions and half the sprat fillets. Add a second layer of potatoes, then the remaining onions and sprats. Finish with a final, even layer of potato strips.
First bake: Pour half of the cream mixture slowly and evenly over the casserole. Transfer to the oven and bake for 25–30 minutes.
Add remaining cream: Remove the dish from the oven. Pour the remaining cream mixture around the edges and into any visible gaps. Scatter the breadcrumbs evenly over the surface and dot the top with a few small pieces of butter.
Final bake: Return to the oven and bake for a further 20–25 minutes, until the top is deep golden brown and a fork slides through the potatoes with no resistance.
Rest and serve: Allow the casserole to rest for 5 minutes before serving. Bring it straight to the table in the baking dish.