The text of the two laws was agreed to by national diplomats after political deals struck in June.