EU lawmakers say their position balances climate ambitions with easing supplies – at a time of turmoil in energy security.