RE: S60 Sunroof SWitch
Most likely it isn't the switch.
There is way more to the system than just the switch.
The rear view mirror is a module and it tied into the sunroof.
Also the alarm system it tied to it as well.
You might have a bad alarm siren.