In fairness, note that in some countries (like mine) there are tighter regulations for electrical circuitry in rooms with baths and showers, which require work in that sort of area (problems with the pull switch, a joint box, or the ceiling rose, for example) to be done or at least overseen by a qualified electrician. They're known as "Part P" in the United Kingdom.
That said, bringing in a mains-powered non-IP-rated portable floor standing lamp because the ceiling mounted one is broken is definitely not the intended outcome of such safety standards.
Don't forget to earth all your water pipes to ground, and only use sockets that are water-rated to resist biblical floods.
I remember being intrigued by a big 40 x 40 cm plastic box on the outside wall of the cabin we were staying at in the UK. Opening the movable front-flap revealed 1 (one) 220V power socket, protected on all sides with enough rubber and plastic to seal a submarine hatch. I had absolutely no doubt it fully complied with all the norms of health and safety..
You are thinking of section 250.104 of NFPA 70, the National Electrical Code published by the U.S.A. National Fire Protection Association. (-:
BS 7671 (IEE Wiring Regs) does not require bonding of the pipework if the mains (service) pipes and the internal (installation) piping are both plastic.
* https://gov.uk/government/publications/electrical-safety-app...
That said, bringing in a mains-powered non-IP-rated portable floor standing lamp because the ceiling mounted one is broken is definitely not the intended outcome of such safety standards.