'Actions likely harmed the people who bought vapes,' judge says.