Since, according to the references capsaicin is used to discourage elephants

I would imagine that it would be quite effective. Effective too in ending a relationship I would think, or it should be. I cannot imagine anyone willingly accepting 'treatment' with such.