 In 1934–1936 he was vice-consul in Riga, and in the years 1936–1938 a contract employee of the Polish Legation in Cairo.From 1939 to 1945, he was the vice-consul of the Republic of Poland in Bern.It is estimated that between 1941 and 1943, Rokicki and his subordinate, Jewish diplomat Juliusz Kühl produced several thousands of illegal Paraguayan passports which served as protection documents for Jews stranded in the Nazi ghettos in German-occupied Poland and who were threatened with deportation from German-occupied Netherlands.