When righteous people are asked obey an unjust laws it is their duty to refuse to comply. The reason that injustice is so common is because most people fear of the consequences of their failure to do as they are told.
Laws that violate the rights of the people are unjust and it is the responsibility of righteous individuals to refuse to comply.
Hitler could not done what he did without the support of the German people.
A tyrant can only exist in a society gives their consent by remaining silent.