This Guardian article makes the (unsourced) claim that (emphasis mine):
There is more than a whiff of the police state about the fact that Danish policeman refuse to display ID numbers and can refuse to give their names.
Can Danish policemen legally refuse to display their ID numbers when asked? Is this actually legal under Danish law?