The Bangladeshi and Indian men said they did not know the practice was prohibited in Poland.