An Italian Judge has sentenced two middlemen found guilty of corruption offences relating to Shell and Eni.