Japan-China currency pact underline need for euro: Germany