Preheat oven to 375°F. Line a sheet pan with parchment paper.
Toast cinnamon, ginger, allspice, cloves, nutmeg, aniseed, white pepper and black pepper in a small skillet over medium heat, stirring, until fragrant, about 1 minute. Add brown sugar, oil, carob molasses (or honey) and whiskey (or rum); cook, stirring, until the mixture is warm (do not boil), about 1 minute. Remove from heat and let cool for 5 minutes in the pan.
Meanwhile, whisk all-purpose flour, pastry flour, baking powder, cocoa and salt in a large bowl. Add the spice mixture and mash together with a wooden spoon, adding 1 tablespoon of water at a time as needed, until a soft, sticky dough forms.
Roll the dough into 1-inch balls, about 1 tablespoon for each cookie. Place the balls on the prepared pan about 1 inch apart. Bake until the cookies are slightly puffed and cracked, rotating the pan from back to front halfway through, 8 to 10 minutes.
Meanwhile, combine confectioners' sugar and orange juice in a small bowl; whisk until smooth.
Let the cookies cool on the pan for 5 minutes, then transfer to a wire rack. Brush the cookies with the glaze; sprinkle with orange zest, if desired, and let cool completely, about 15 minutes.