A Delhi court has granted the NIA custody of foreign nationals accused of training Myanmar-based insurgent groups, raising concerns about national security and potential links to Indian insurgents.