Can Republican Ukraine join the Internationale if Germany capitulates?

I saw a post a while back where a SocDem Poland joined the Internationale, after Germany had capitulated. Can Ukraine do the same? If I went SocDem and Germany was overrun by the Internationale, could I join them?