The film mocks the moribund world of pan-Poland. The border established by the Treaty of Riga between pan-Poland and Soviet Belorussia passed through the estate of Polish Count Wadecki. The best part of the estate with the palace ended up on Soviet territory. From that moment on, the count lost peace and sleep. New owners - a noisy, cheerful pioneer squad - took up residence in the former manor house. The count's servants, shepherd boy Vasya and servant girl Yadya, watch the life of their neighbours with keen interest. Having accidentally crossed the border in search of a stray cow, Vasya happily stays in Soviet Belarus. He is followed by Yadia. Eventually the Count and his "lordly" guests cannot bear the sight of the noisy youth festivities on the Soviet side and flee. Yadia and Vasil participate in the Soviet youth party.