Preheat the oven to 375°F/190°C.
Slice the top off the head of garlic to expose the cloves, drizzle with the olive oil and wrap in aluminum foil.
Wash the potatoes, but leave them whole (and unpeeled). Place them on a wire rack set over a sheet pan, alongside the wrapped garlic. Roast for 45-60 minutes, until the potatoes are completely knife tender and the garlic cloves are very soft and golden brown.
Halve the potatoes while they're still hot and push the flesh through a ricer (or a fine mesh sieve if you don't have a ricer). Squeeze the roasted garlic out, set aside 2 cloves for the garlic butter, and mash the rest to a smooth paste (or run it through the ricer).
While the potatoes are still warm, stir in the roasted garlic, butter, heavy cream, egg yolks, nutmeg, salt and pepper until completely smooth and well incorporated.
Transfer to a piping bag fitted with a large star tip while still warm. Pipe trees directly onto two parchment-lined baking sheets. Start small at the top, piping into a wider base at the bottom. Optional: pipe a star on top and a trunk on the bottom.
Bake at 375°F/190°C until crisp and golden at the edges, about 12 to 18 minutes, depending on the size you piped them.
While they bake, melt the butter in the microwave or a saucepan. Mash the 2 reserved roasted garlic cloves, then whisk them into the butter with the parsley. Brush it over the trees right when they come out of the oven. Optional: garnish with finely grated Parmesan and a sprinkle of coarse salt.