Its government said the law aims to protect the Danish territory’s “political integrity” and must be seen in light of the geopolitical interests in Greenland.