The solution is in the comment of Asaf Karagila, which points to the paper ["A geometric form of the axiom of choice"][1] by Bell and Fremlin.


  [1]: http://matwbn.icm.edu.pl/ksiazki/fm/fm77/fm77116.pdf