Countries have agreed to limit the controversial sale of wild elephants caught in Zimbabwe and Botswana, to the delight of conservationists but the dismay of some of the African countries involved.

Wildlife experts say the Tuesday vote at a conference in Geneva on trade in endangered species known as CITES is a "momentous win" for elephants because it restricts their sale to zoos.

The European Union tweaked the language of the resolution to reach a compromise that limits exports of live elephants outside of Africa but allows for some exceptions relevant to Europe. Conservationists explained, for example, this would allow for an elephant already in France to be shipped to nearby Germany without having to be sent back to Africa first.

But the new resolution means zoos will no longer be able to import wild-caught African elephants to the U.S., China and many other countries beyond the elephants' natural habitat. The resolution passed by a vote of 87 in favour, 29 against and 25 abstaining. The U.S. voted against it.

Animal advocates applauded the move, even though some felt it didn't go far enough.

"While it is disappointing that it is not an outright ban on trade in live elephants, the new language adds vital independent oversight and scrutiny," said Audrey Delsink, wildlife director at Humane Society International. "The capture of wild African elephants for export to zoos and other captive facilities is incredibly traumatizing for individual elephants as well as their social groups," she said in a statement.

Dozens of celebrities, including actress Judi Dench and comedian Ricky Gervais, had signed a letter to EU president Jean-Claude Juncker saying it would be "obscene for the EU to endorse snatching wild baby elephants and condemning these beautiful leviathans to a life of captive misery."

Even renowned conservationist Jane Goodall weighed in, saying she was "absolutely shocked" at the idea of separating young elephants from their families and shipping them off to zoos.

Some African officials, however, said the new proposal would deny them some much-needed cash and that they should be free to do what they wished with their elephants.

"The government has been pumping out a lot of money for conservation with no real return, yet our government has competing social needs," said Tinashe Farawo, spokesman for Zimbabwe Parks and Wildlife Management Authority.

"We view our animals as an economic opportunity, so we should sell our elephants."

Farawo said that Zimbabwe, Botswana Namibia and other southern African countries would meet for consultations following the CITES meeting.

"We cannot continue to be hamstrung and told what to do with our resources," Farawo said. "We cannot continue to allow powerful countries and NGOs to set the agenda when the elephants are ours," he said, disputing there was any conservation concern.

"We have too many of them so selling them should not be a problem for anyone. Why should we continue to impoverish our people when we have the resource?"

___

Mutsaka reported from Harare, Zimbabwe.