Fortunately, the U.N. put their best and brightest on it, and they came up with an effective, if unconventional, solution: Ping-Pong balls.
Filled with C4.
It being the United Nations, they likely first sent the elephants a series of increasingly strongly worded letters in the hope that they would self-disarm. When that didn't work, their Food and Agriculture Organization recommended the use of a device called a Mhiripiri Bomber -- a gun that launches chili-pepper-filled Ping-Pong balls up to 150 feet. Research has proven that elephants do not like getting shot in the face with them. So poor African villagers have an effective, nonlethal way to deal with Dumbo and kin, and all it took was marrying a spicy South American seasoning blend with NERF technology.
It works equally well against those damn teenagers who won't stay off your lawn.