The center bore of the wheels on both cars is 63.4.
The wheel offset on the 2007 S80 is 55 mm. The wheel offset on the 2018 S90 is 42 mm (8x18" wheel), 47 mm or 47.5 mm (8.5x19" & 8.5x20" wheels), or 44.5 mm (8.5x21" wheel).
The 2007 wheel will sit 13 mm (1/2 in) closer to the suspension components on the 2018 S90. You need to measure the distance between the wheel and the suspension components on the 2018 S90 to know if you have enough room. If there is less than 7 mm (1/4 in), I would be hesitant to do the swap. Just saying.
Hope than answers your question.