A crime ring smuggling drugs into Europe has collapsed after a three-year investigation with 40 arrests made.