When can courts interfere in an ongoing investigation?