Rules from the water companies when using mains water are that there has to be an air gap and any potential dirty water, in a trough for example, so there is no risk of contamination in the mains supply for human drinking water.Sorry treat me like I’m thick but what do you mean air gap?
We had to install a special air gap pump where the backup for roof and spring water is mains for this very problem.