Former Zimbabwean leader Robert Mugabe says his country has its shortcomings but "overall we must obey the law".