The “grid code” settings affect the inverter only when exporting power into the grid.
The Quattro synchronizes to the grid VOLTAGE and it injects a CURRENT that may be in phase (PF=1) or slightly out of phase (PF < 1) compared to the grid voltage waveform.
The “grid code” settings do not affect the PF when charging the battery from the grid or generator.
The “grid code” settings do not affect the PF when running off-grid. The PF is set by the load connected to the inverter output and it can supply any load with any PF as long as the apparent power is less than 10 kVA and, at the same time, the active power is less than 8 kW.