In both cases, they have to either send the application by mail, together with the Ukrainian passport and the original residence permit, which is deemed risky, or come to the diplomatic establishment in person.