That's an interpretation, not a translation. The Polish sentence only means that she kicked the ball into a goal. No one said that there's even any match, maybe she's the only person on the pitch, just kicking the ball around.
Well, the fact that it's 'technically not impossible' doesn't mean that it should be accepted. It's rather unlikely that she was kicking the ball at the airport and I don't see any other context where 'gate' = 'bramka'. Apart from logic gate, which is totally out of the question.
You can do the same in Polish: "do siatki". Well, but that's of course more colloquial.
I'm wondering: when we say, "do bramki" here or "do kosza" in the other exercise, is there anything there that means the ball necessarily went into the goal or basket? Or could they also be interpreted as the ball just being thrown or kicked in the direction of the goal? I'm not necessarily suggesting the acceptance of another answer, just curious.