Why was the emancipation proclamation important to the civil war?

It officially turned the war into a crusade against slavery. After that, free nations abroad could not support the Confederates without looking pro-slavery themselves.