What changed the Prussian relationship with Sweden?