BUENOS AIRES – The expropriation of nearly all of the Spanish company Repsol’s stake in Argentina’s energy producer YPF, announced in a vehement speech by President Cristina Fernández de Kirchner, has raised legal alarms worldwide. In fact, the move will not resolve the country’s energy problems in the absence of enormous inflows of investment to the sector.