Gain-of-function research (designed to make microorganisms more transmissible or more pathogenic) is explicitly incentivized by the treaty. The treaty demands that administrative hurdles to such research must be minimized, while unintended consequences (aka pandemics) should be prevented. But of course, when you perform this type of research, leaks and losses of agents can’t always be prevented.