When extrapolating from modern cuisine, or even what we consider “traditional local cuisine”, you need to take into account that most of this is quite new. Germans famed love for potatoes? Only a few generations old. So spices that became “traditional” may well have been brought in by traders, of which Scandinavia had plenty since it’s all accessible by sea.