Does it violate the PD? Or does the PD have built in the practical consideration that the federation realistically needs resources? During Kirk's time the PD apparently is applied in a sensible manner.one of those Admirals who tells Kirk to make good with pre-Warp cultures who have a good supply of dilithium even though it violates the Prime Directive