Final answer:
While respecting the legitimacy of the government, there is a moral duty to oppose unjust laws, as emphasized by Dr. King and other civil rights leaders who practiced nonviolent protest and civil disobedience.
Step-by-step explanation:
Considering Dr. Martin Luther King's involvement in the civil rights movement, the act of swearing to resist anyone who disobeys the law is a complex issue. From the perspective of Dr. King and other activists like John Lewis, who endorsed nonviolent protest and civil disobedience, there is a clear distinction between just and unjust laws. According to this viewpoint, it is not only the right but also the responsibility of individuals to disobey unjust laws that infringe upon human rights and perpetuate inequality.
The idea of civil disobedience has a significant historical precedent, as demonstrated by figures like Rosa Parks, whose refusal to give up her seat on a bus was an act of defiance against racially discriminatory laws. The U.S. Supreme Court's decision that forced individuals to recite the Pledge of Allegiance was deemed unconstitutional, highlighting the principle that citizens cannot be compelled to support opinions that contradict their beliefs or rights.
In summary, while the legitimacy of the government as an institution may be recognized, the moral duty to oppose and resist unjust laws remains a foundational aspect of democratic society, as emphasized by historical civil rights movements and leaders.