Learning from the chemical weapons convention