The Spanish government defended its decision, claiming that the medicines in the shipment were needed in Spain to meet domestic demand.

Spain Seizes Medicine Exports Destined for Morocco
Spanish Agency of Medicine and Sanitary Products (AEMPS)