It may be worth looking at the government web page concerning the Electrical Equipment (Safety) Regulations 1994 . Here it states:

Modified and refurbished equipment are included within the scope of the regulations. Where equipment is refurbished to its original specification, it will be treated as second-hand equipment. However, if the refurbishment uses different types of components, it will be considered as modified electrical equipment.

So if you use the resistor from RS and it in some way different from the one you replaced you have to conform to all the requirements of the regulation.

CE marking is not always required but the regulations are law (via statutory instruments).