Your problem is then having two different circuits in one box. I can't remember if this is allowed. However, if it is allowed, a warning sticker inside saying that several different circuits use the same accessory may be a good idea. This might prevent someone turning off the lighting circuit and getting fried from the ring main based lighting.
Christian.