Nobody’s going to win an Emmy for a parody of the TV show “Star Trek” filmed by Internal Revenue Service employees at an agency studio in Maryland.

Instead, the IRS got a rebuke from Congress for wasting taxpayer dollars.

The agency says the video, along with a training video that parodied the TV show “Gilligan’s Island,” cost about $60,000. The “Star Trek” video accounted for most of the money, the agency said.

The IRS said Friday it was a mistake for employees to make the six-minute video. It was shown at the opening of a 2010 training and leadership conference but does not appear to have any training value.