what is law making treaty