Nicolas Sarkozy is set to enter prison after his conviction over alleged Libyan funding, marking an extraordinary chapter in modern French politics.