Related Rule
Denmark
Practice Relating to Rule 126. Visits to Persons Deprived of Their Liberty
Denmark’s Directive on the Ban on Torture (2008) states:
Central to the issue [of the ban on torture and other cruel, inhuman or degrading treatment or punishment] is that detainees are treated well and humanely.
Examples:
During detention, emphasis is also placed upon the opportunity for detainees to … receive visitors … These requirements though will be considered with regard to the length of detention. 
Denmark, Forbud Mod Tortur og Anden Grusom, Umenneskelig Eller Nedværdigende Behandling Eller Straf, FKODIR 005-01, Forsvarskommandoen, September 2008, pp. 4–5.
Denmark’s Military Criminal Code (1973), as amended in 1978, provides:
Any person who uses war instruments or procedures the application of which violates an international agreement entered into by Denmark or the general rules of international law, shall be liable to the same penalty [i.e. a fine, lenient imprisonment or up to 12 years’ imprisonment]. 
Denmark, Military Criminal Code, 1973, as amended in 1978, § 25(1).
Denmark’s Military Criminal Code (2005) provides:
Any person who deliberately uses war means [“krigsmiddel”] or procedures the application of which violates an international agreement entered into by Denmark or international customary law, shall be liable to the same penalty [i.e. imprisonment up to life imprisonment]. 
Denmark, Military Criminal Code, 2005, § 36(2).