Indeed, as @Matthewd29 has pointed out minor works (http://www.walshelectrical.ie/electrical-services.html#minor-works) are not illegal. However any work in a special location (e.g. bathroom) are always Restricted Electrical Works and never minor works, so for example replacing a pull cord like-for-like is a criminal offence if the person doing it is not a Registered Electrical Contractor (REC).
The photograph shows that the works in question are not in a bathroom, however.
The photograph shows that the works in question are not in a bathroom, however.