"Gain-of-function research is also subject to intense scrutiny and governmental oversight, precisely because of the high risk involved in conducting it safely; thus, it is extremely unlikely that gain-of-function research on hard-to-obtain coronaviruses (such as bat SARS-like coronaviruses) could occur under the radar."
This research was not happening under the radar. WIV has been openly publishing gain of function research on bat Coronaviruses for years. It's quite possible that SARS-CoV-2 was a research project that they fully intended to publish, but was accidentally released during the research.