EU voices risks involving investor, residence schemes