Did you read the article? Your last paragraph suggests that you didn't.
Moreover, the fact that Stefanini was/is gay did not and does not constitute a "public status at odds with church teaching."  He was not in a gay marriage or civil partnership, nor was he an advocate for those causes.  He was not a gay diplomat; he was a diplomat who happened to be gay.