X-Factor isnt an officially recognized entity by the world. They can pretty much do as they want as they represent Krakoa and arent limited to just Earth. The concept of X-Factor is likely about to expand bc as it stands they are meant to verify mutant deaths and investigate causes, which I dont think will be their role in the trial