We've had laws like this in the U.S. for a long time--unenforced.
Technically, for stuff like new circuits or outlets, upgrading a
circuit breaker panel, etc., you're supposed to use a licensed
electrician, and the latter requires permits. It varies by locality,
but most cities adhere to the same National Electrical Code (not a
government code).
Some enforcement is provided by insurance companies, who will try not
to pay if a fire is caused by illegal wiring.
I had some wiring done on my swimming pool lights and pumps, and the
electrician was clueless, I had to show him the code regulations for
the stuff, some of which is not possible to even adhere to without
removing the whole pool first!
I doubt if this law prevents someone from replacing a plug on an
appliance.