The goal should have been disallowed at any game. Why does the referee even both standing there? He may as well just stand on the goal line for ball in/out judgements.
2 players encroaching by 2-3 yards....what if the goal had gone in, at what point would you consider ordering a retake for encroachment?
Most other sports, if there's a line you can't cross, then the players know that if they cross the line there's consequences and there's no arguments.
Football is weird. There are laws about things but for some reason nothing gets done when those laws get blatantly broken. And we wonder why this game has so many problems - it really just complicates it all (and then makes it 'all about the referee' on the blue moon when a ref does do something.
It's going to be interesting seeing VAR intervention for encroachment. Of course, it shouldn't be necessary....