Reading between the lines, it seems like this is a threat made to bring AMA in line with the administration's policies around medically supporting transgender people.
I would expect that if (when) the AMA folds on the matter, concerns around the codes will be somehow forgotten