BRASILIA (Reuters) - Brazil’s right-wing government has begun to pull its diplomats out of the embassy and consulate in Caracas as it moves to downgrade relations with Venezuela’s leftist government.

Instructions published on Thursday in the official gazette removed five diplomats and 11 members of consular staff in Caracas, including Consul General Elza de Castro and two minister counselors at the embassy.

Brazil’s far-right president, Jair Bolsonaro, has not broken off relations with Venezuela as other governments in the hemisphere have, including Canada, because Brazilian diplomats and military officers have wanted to keep a door open.

There are roughly 10,000 Brazilians living in Venezuela, and Brazilian authorities say more than half a million Venezuelans have fled the country’s economic and political crisis into Brazil, with many of them continuing to other South American nations.

The Brazilian government is also refusing to renew the credentials of the envoys in Brasilia of Venezuelan President Nicolas Maduro, whose legitimacy is not recognized by Brazil and more than 50 other nations.

Bolsonaro’s government sees opposition leader Juan Guaidó as the legitimate head of a transition to democratic rule in Venezuela, and formally recognizes his envoy, Maria Tereza Belandria, as Venezuela’s ambassador in Brasilia.

Belandria, however, lives and works out of a Brasilia hotel because the Venezuelan Embassy is still controlled by Maduro representatives, most notably the military attaché Major General Manuel Barroso who de facto runs the embassy, which has not had an ambassador since 2016.