Sweden coach Janne Andersson accused Germany of "rubbing it in our faces" as they celebrated Toni Kroos' 95th-minute goal to give them a 2-1 victory in the World Cup Group F clash.
Germany were in danger of a group-stage exit from the tournament, with a draw only likely to give them a temporary reprieve, until Kroos curled in a 95th-minute free-kick to take the three points.
Kroos' late strike rescues Germany
Germany breathed new life into their World Cup defence after Toni Kroos' dramatic injury-time winner secured a 2-1 comeback victory over Sweden in Sochi
The World Cup holders then set off to celebrate wildly, having come from behind in the encounter at Sochi's Fisht Stadium, but their behaviour provoked anger on the opposition bench.
"Some of Germany's leaders celebrated by running in our direction and rubbing it into our faces. That got me angry," said Andersson.
"We fought it out for 90 minutes and when the final whistle blows you shake hands and you leave so I was very angry with that."
Ola Toivonen's goal had given Sweden a first-half lead, but Marco Reus equalised early in the second period. Even a draw would have left Germany needing to win their final game against South Korea while hoping the Swedes lost to Mexico.
But suddenly Joachim Low's team, who had Jerome Boateng sent off late on, have their fate in their own hands again, while Sweden have it all still to do.
The Scandinavian side, though, were also unhappy at not being given an early penalty when Marcus Berg was fouled in the area by Boateng on the point of shooting.
"We played excellently and scored a beautiful goal. We won't cast any blame but we have spoken to those who say it was a penalty on Berg, and that is maybe what we needed against a team like Germany," said Andersson, who was unhappy that the Video Assistant Referee did not intervene.
"If we have the system it's very unfortunate that [the referee] doesn't feel he can go and have a look. If that's his decision we have to live with it.
"The whole group is still alive so we will have to lick our wounds and come back for the last game."