The pineapples originated from Costa Rica, and Spanish police intercepted the drugs at a food market in Madrid.