One has not only a legal but a moral responsibility to obey just laws. Conversely, one has a moral responsibility to disobey unjust laws.
From what I understand Mr. King believes a law that is unfair in terms of equal rights of the people should be no law at all, which I really agree with because since the civil war, everyone no matter their race has equal rights.