European Commission adopts controversial code of conduct