Yes these works, but its prolonged use may overheat the LEDs and may damage the glass of roof light. (or the LEDs circuit can be burnt itself)
So whenever you buy, look for some good quality one , some have a heatsink with them too. Also check the size of the light, usually these are 36mm one (cannot confirm the Swift one)