The film tells how intelligence, ingenuity and a lucky combination of circumstances allowed a poor village guy to marry the tsar's daughter.