I thought it was funny, though the ending had something of a Watchmen effect: All the pirates you see throughout the episode, regardless of the number of lines or importance to plot, get gunned down by the marines at the end. However, by then they've become sympathetic characters.