 Krejci joined the Josef Hlavka National Economic Institute after the end of the war.He openly opposed the merger of the Czechoslovak Social Democratic Party, to which he was a member, into Communist Party of Czechoslovakia following the 1948 Czechoslovak coup d'état.In 1954, he was sentenced to ten years in prison on charges of treason for his opposition to the Communist Party.