I think the phrase "could reasonably be expected to know", or an equivalent, would appear in any proceedings were the installer was gripping the rail.
So a large installation, hundreds of cables? No.
A qualified electrician installing a generator with no earthing of its own? Yes.
So a large installation, hundreds of cables? No.
A qualified electrician installing a generator with no earthing of its own? Yes.