Andrew Mountbatten Windsor could be stripped of his honorary rank of vice admiral, the Defence Secretary has said.