The EU plugs the last loopholes