Magical realism connects fictional characters with real ones.In this case Marquez uses the power of an ideology in the person of someone who admires and feels happy to live under a political system others do not like and want to escape from.
The best part of the novel is the one that says- Night found him leg weary with hands and face lashed by the branches. that explains and supports the idea