The legal change came after some 30 former RAF, Navy, and Army pilots were found to have trained Chinese military for lucrative compensation.