The short cytoplasmic tail of HLA-G determines its resistance to HIV-1 Nef-mediated cell surface downregulation.