I think Trek has historically been creative with how the prime directive is interpreted to take the storyline forward. We should go with the flow and always rationalise that it is just a guideline and open to interpretation based on the situation and sonetimes even based on which side of the bed the captain woke up on.