The NFL downgraded referee Bill Leavy, whose crew gave the San Francisco 49ers two third-down plays in the first half of their victory over the Green Bay Packers, a source told ESPN NFL Insider Adam Schefter.

NFL officials are judged and graded every week, and are often downgraded for issues. In the end, egregious mistakes can draw fines or cost officials assignments in the playoffs or Super Bowl.

After a third-and-6 play at the Green Bay 10-yard line in the second quarter, Colin Kaepernick was hit out of bounds by Clay Matthews. The Green Bay linebacker drew a personal foul penalty, but so did 49ers tackle Joe Staley for unsportsmanlike conduct.

The NFL said Monday that a review showed Staley should not have been penalized.

"After reviewing the play, vice president of officiating Dean Blandino determined that Joe Staley should not have been penalized," spokesman Randall Liu said in an email. "It should have been first-and-goal for the 49ers from the Green Bay 3-yard line."

Because both penalties came after the play ended with Kaepernick stepping out of bounds without gaining a first down, it should have become fourth down. The league said Sunday the penalties were dead-ball fouls and the ball should have been spotted at the Packers' 6, making it fourth-and-2.

However, game officials gave the 49ers another third-and-6 play, and they scored a touchdown on Kaepernick's 10-yard pass to Anquan Boldin.