I would argue that under WEEE disposable vapes were never legal, it's just that nobody cares and EU directives rely on self-enforcement.
Next time you see one, look for the "no bin" symbol)