Re: Would Q allow humanity or federation to be dstroyed?
Roddenberry apparently got the idea of Q after the main story involving the jellyfish aliens was developed. So the trial plot was probably quickly written and just shoved in there where it could fit.
Dr. Howard, Dr. Fine, Dr. Howard: For duty and humanity! --Men in Black (1934)