It would be a very poor study that didn't control for those factors!
The reduction in mortality remains after controlling for level of exercise. Also, using sunbeds and sunbathing while on holiday is associated with reduced mortality, at least in this large study in Sweden:
The reduction in mortality remains after controlling for level of exercise. Also, using sunbeds and sunbathing while on holiday is associated with reduced mortality, at least in this large study in Sweden:
https://onlinelibrary.wiley.com/doi/full/10.1111/joim.12251