What was Sweden's motivation to join the war