The European Union threatened to impose tariffs on solar panels from China in the biggest EU trade dispute of its kind, saying producers in Europe may be victims of unfair price undercutting.