This operation isn’t possible if the contact has any dependent contacts. Those must be removed manually beforehand.