Promising a deal that includes citizenship, a house, a salary, and an administrative position to a Nazi scientist in exchange for their work and knowledge such that one’s country can gain ground in a cold war is absolutely fine. It’s absolutely totally fine.
Following through with the deal after getting the goods from the Nazi is not. Shoot the Nazi. You always shoot the Nazi.