The Missouri Compromise did not require new states to be slave states below the Compromise line. It simply permitted it if the state wanted it. The people of California decided they did not want slavery and The Compromise of 1850, among other things, admitted California as a free state.
“It simply permitted it if the state wanted it.”
Which is what applied to Nebraska and Kansas too, didn’t it. Popular Sovereignty.