The VAR (Video Assistant Referee) can change decisions such as goals, penalties, or cards. Your bet is always settled based on the final official decision after VAR review.
At the World Cup, an expanded VAR is used: it also reviews incorrect corner decisions and second yellow cards leading to a dismissal. For example, if a corner is wrongly awarded and leads to a goal, the goal may be overturned.