Germany has poured cold water on President Donald Trump's wish to bring Russia back into the G7, saying the group's stance on Moscow's war on Ukraine is clear.