The Right Way to Encourage Foreign Investment