I've had this one fairly recently (with a CRI candidate). The CAA were happy to confirm that any PIC time gained on aeroplanes or TMGs where the candidate was legally entitled to fly it at the time counted, so a military Certificate of Competence was fine, no TMG rating required.