Denmark's immigration authority has a specific condition that can block foreigners from obtaining a permanent residency permit temporarily. See the details here.