Unroll the puff pastry and spread the cream cheese over the entire surface. Sprinkle with oregano and ground black pepper.
Arrange the slices of ham on top, then fold the dough over to cover the filling.
Cut the filled dough into 5 strips. Fold each strip like an accordion, gradually widening it to form a Christmas tree shape.
Secure each tree by inserting a skewer into the center.
Place the Christmas trees on a baking sheet lined with parchment paper and brush them with egg yolk. Bake at 180 °C for about 15 minutes, until the dough is puffed up and golden brown.
Serve the sapins while they're still warm to fully enjoy their crispy exterior and melt-in-your-mouth center.