Porsche has threatened legal action if the European Union enforces proposed CO2 emissions limits.