Coffee can do strange things to animals. There's a study where NASA gave various drugs to spiders to see how it affected their webs[0]. Coffee had a stranger effect on the web than marijuana.
Because even in low concentrations, I expect cocaine to have a different effect than Valium. (And in both case I expect a different effect at high concentrations.)