During the 2022 FIFA World Cup match between Japan and Spain, Japan's second goal, scored by Ao Tanaka, was scored after the ball had seemingly gone out of play and been dragged back in by Kaoru Mitoma:
Why was this goal deemed to be valid?
According to Law 9.1 of The Laws of the Game (emphasis mine):
The ball is out of play when:
- it has wholly passed over the goal line or touchline on the ground or in the air
From the angle shown in the question, it does indeed seem as though the ball is out of play. However, from this aerial view, we can see that part of the ball is still just barely on the line, not over it. As a result, the ball is still in play, and the goal is valid. It's really, really close, I grant you, but I think the right call was made as per the Laws of the Game.
See this tweet for the video that match officials used the goal line camera images to check whether the ball was still partially on the line.
https://redd.it/za20rz shows that the ball was still in the game:
This tweet shows a nice simulation to understand 3D: