I think the rules state that the referees decision is final which means that he could just disallow an obvious goal if he wanted to. Ok it wouldn't be fair but by the rules of the game it wouldn't count as a goal. Surely this sending off follows the same logic