The criminal say to the judge that you will sentenced me for 6 years in jail.
Because if the judge will say true then he would have to give the criminal 4 years in jail.
But if the judge will say false then he would have to give the criminal 6 years in jail.
But the judge is confused,that's why he let the criminal go free.