After the Hungarian government issued racial decrees and separated Polish refugees of Jewish descent from their colleagues, Sławik started to issue false documents confirming their Polish roots and Roman Catholic faith. He also helped several hundred Polish Jews to reach Yugoslav Partisans. One of his initiatives was the creation of an orphanage for Jewish children (officially named "School for Children of Polish Officers") in Vác. To help disguise the true nature of the orphanage, the children were visited by Catholic Church authorities, most notably by nuncio Angelo Rotta.