On my reading, King Jr. is not presenting legislation, or legislating morality, as an ultimate end. Rather, King Jr. recognizes that legislation can be used as a tool to prevent violence through the imposition of sanctions, or the threat of sanctions. It is a tool that can ensure people live long enough to engage in other kinds of transformative acts.
This is, as King Jr. says "pretty important also."