I assume the former, because then there would be a larger issue.
It is the former. It applies to the government-run Lutheran Church of Denmark.
Here is an excerpt.
The country’s parliament voted through the new law on same-sex marriage by a large majority, making it mandatory for all churches to conduct gay marriages.