Elephants can be deterred by electric fences, where they can be afforded, or, it is hoped, by a rope smeared with a pungent mixture of grease and hot chilli peppers.
They have been experimenting with a mixture containing a molecule similar to capsaicin (the active ingredient of hot peppers) and another similar to THC (the active ingredient of cannabis).