The national football league has decided to let the 3-2 result from an April 22 game between St Gallen and Basel stand. Basel had appealed against the third goal, saying evidence showed the ball had not crossed the line.
The league's disciplinary commission threw out the appeal despite video replays showing that Jerren Nixon's strike failed to enter the goal.
It admitted that the referee, Dieter Schoch, had made a mistake, but said the result could not be changed according the league's bylaws.
The ruling also follows guidelines set out by Uefa, the European football association, which does not allow protests against referee decisions concerning goals.
Basel has decided not to appeal again, despite having five days to do so. "We have chosen not to fight this ruling, although it has been proven we have been cheated by a refereeing decision twice this year in St Gallen", said Basel's president, René C. Jäggi.
swissinfo with agencies
In compliance with the JTI standards