I'm guessing this is in ROI and I'm aware that there is a "neutralising link" between the supplier's PEN and the local earth rod, etc. However, is it a bit like UK TN-C-S where the N & E are only ever linked in the supply cut-out, or is it more like the USA where there is a N-E link in the first DB?
The reason for asking is the time you need to use a generator is under supply fault conditions and that could well include the open-PEN situation, so if any transfer switch could be isolating the supply PEN and line, leaving the installation on the earth rod and then the generator would also be safe under open-PEN failure of the supply.