Peter Scolari, who plays Hannah’s dad on ‘Girls,’ steps into the comedic guest-star opening left behind by Peter MacNicol’s disqualification.

Apparently, t was always meant to be a Peter in the Emmys’ comedic guest-star field.

One day after announcing that Peter MacNicol was disqualified because he appeared in too many episodes of HBO’s Veep to be considered a guest star, the Academy of Television Arts and Sciences has replaced him with another Peter from another HBO comedy: Girls’ Peter Scolari, who plays Hannah’s fresh-out-of-the-closet gay father.

MacNicol ran afoul of a rule, instituted in 2015, that says actors are only eligible for a guest-star berth if they appear in fewer than 50% of a season’s episodes.

MacNicol, who plays Jonah’s uncle and political power broker, Jeff Kane, appeared in five of the 10 fifth-season episodes, although HBO told the Associated Press that he was only scheduled to appear in four at the time his name was put for consideration, all of which had already aired.

When he appeared for a few seconds in the documentary episode “Kissing Your Sister,” he hit the 50% threshold.

According to a statement from HBO, the episodes from the latter half of the season – and tfore their acting credits – hadn’t been completed when the network submitted MacNicol’s name before the Emmys’ May 2 entry deadline.

MacNicol already has one Emmy, having won in 2001 for his supporting role on Fox’s Ally McBeal.

Scolari has been nominated three times for his supporting role on CBS’s Newhart.