(Lex Regia'' in Latin) of 1665 established the reign "by the grace of God" of King Frederick III and his posterity. Of the articles of this law, all except Article 21 and Article 25 have been repealed by amendments to the Constitution in 1849, 1853, 1953, and 2009. Article 21 states "No Prince of the Blood, who resides here in the Realm and in Our territory, shall marry, or leave the Country, or take service under foreign Masters, unless he receives Permission from the King". Under this provision, princes of Denmark who permanently reside in other realms by express permission of the Danish Crown (i.e. members of the dynasties of Greece, Norway and the United Kingdom) do not thereby forfeit their royalty in Denmark, nor are they bound to obtain prior permission to travel abroad or to marry from its sovereign, although since 1950 those not descended in male-line from King Christian IX are no longer in the line of succession to the Danish throne. However, those who do reside in Denmark or its territories require the monarch's prior permission to travel abroad and to marry. Article 25 stipulates, with respect to blood members of the Royal dynasty: "They should answer to no Magistrate Judges, but their first and last Judge shall be the King, or to whomsoever He decrees.". The wording excludes those whose blood cannot be traced to a Danish monarch (e.g., the present Crown Princess). Notes 1Princess Benedikte's children have no succession rights. This is because the marriage consent given to her had very specific provisions; if Benedikte ever became the heir presumptive, she and her husband would have to take permanent residence in Denmark and her children would only have succession rights if they had applied for naturalization upon reaching adulthood, and taken up residence in Denmark: (a) at the time of becoming the immediate heir to the throne, and (b) no later than when they reached the age of mandatory schooling under Danish law. Since the children continued to be educated in Germany well past the mandatory schooling age, they are deemed to no longer have succession rights. 2Queen Anne-Marie has no succession rights, and her descendants have none through her, because the permission granted for her marriage stipulated that she renounced her claim to the Danish throne upon becoming Queen consort of the Hellenes. See also Danish nobility Line of succession to the Norwegian