Is this compliant?
My take on it is the jb is for power not lighting, with drops to sockets. Perhaps the property was prone to regular flooding ?