How did you do the transfer? I need to remove that option if it exists in game.
I did it with the "Transfer Alien" button on the Ground Forces window.
Thanks - I'll either disable that for transfer to NPRs, or find a way to set a template ID for unknown formations.
EDIT: I've added some code that allows NPRs to analyse any transferred formation and assign them one of their own templates (infantry, armour, STO, Brigade HQ, survey, xeno, construction or decomtamination), depending on the composition of the formation and the designs of the units therein.