(CNN) France and Germany have criticized President Donald Trump for threatening to pull the United States out of a joint statement with key G7 allies.

Trump tweeted Saturday that he had instructed his representatives not to sign a communique between the seven nations that make up the group just after host Canadian Prime Minister Justin Trudeau announced all countries had agreed to it.

Key to Trump's concerns appeared to be declarations on trade, a thorny issue following Trump's announcement that he planned to impose tariffs on steel and aluminum exports from the European Union, Canada and Mexico.

France's Elysee Palace said Sunday that the country and Europe as a whole maintained their support for the communique.

"International cooperation can't depend on anger and small words. Let's be serious and worthy of our people. We spent two days obtaining a draft and commitments. We stick to it. And anyone who leaves and turns their back on them shows their inconsistency," the palace said.

Read More