Alex Bregman wasn't happy with Major League Baseball's decision to overturn his extra-base hit in Wednesday's game between the Houston Astros and Colorado Rockies after a replay review because of fan interference.

The Rockies eventually won 3-2 on a ninth-inning home run by Charlie Blackmon.

Leading off in the sixth, Bregman cruised into third with an apparent triple off the wall that eluded the leap of Gerardo Parra.

Bud Black challenged for fan interference. Bregman was ruled out after replays showed a fan extended his glove over the railing enough for the ball to glance off it, changing its trajectory slightly at the moment Parra was reaching up to attempt the catch.

According to MLB rules, if fan interference "clearly prevents a fielder from catching a fly ball," the batter will be declared out.

"It was a f---ing joke, and they should be f---ing ashamed of themselves," Bregman told reporters. "Obviously, the guy has never played f---ing baseball before in his life, the guy in charge of whoever made that decision. There is no possible way you can say that a left fielder jumping backwards into a wall is guaranteed to make a catch.

"It changed the whole f---ing game. We're up 2-1 at the time, I'm at third base. We need a fly ball to the outfield to get me in, and it's 3-1. It's f---ing horrible."

Parra, however, said he had a bead on the ball and was stunned when it changed direction at the last moment.

"It almost hit me in the face," he said. "I thought, 'What happened? At the last second the ball moved.' I never saw the fan touch the ball until I saw the replay, but I feel I would have had that ball."