Someone did it the other way around - he mounted a Svartpilen (401) headlight onto a Vitpilen - and according to what he reported, it was plug and play; the same should apply to the Vitpilen headlight on the Svartpilen.
The Vitpilen headlight unit (part number A67614001000) is about EUR 800,-.
Attached, you'll find the list of parts for the Vitpilen headlight, taken from the Husqvarna spare parts finder.
A few months ago, I broke my Svartpilen headlight and had to replace it. Was about £750. Ouch! If I knew the 401 headlight fit, that might have save some money!