He should also start writing his epic "the Prime Directive will always be secondary to the moral judgment of a captain acting in good conscience" speech for when he gets chewed out.
Or, you know, he can spin it as preventing a Prime Directive breach by the Xill. I like my plan better though.