Laws (of man or God) are to be obeyed. Authorities, legal/parental/family, are to be obeyed.
IF one sees an unjust/ungodly command, then it is correct to
a) Make an appeal to see if the authority will change
b) Reject it and suffer the consequences
God will sort it out; you may end up eating lentils instead of wine/pork (good result from an appeal) or you may end up in a firey furnace or lion's den.
It is only in the most extreme cases that an "unjust order" should not be obeyed. Often we do not know what the thinking is of those in authority, nor of the plan of God to use what we think of as "unfair" or "evil" to His good.
IF one sees an unjust/ungodly command, then it is correct to
a) Make an appeal to see if the authority will change
b) Reject it and suffer the consequences
God will sort it out; you may end up eating lentils instead of wine/pork (good result from an appeal) or you may end up in a firey furnace or lion's den.
It is only in the most extreme cases that an "unjust order" should not be obeyed. Often we do not know what the thinking is of those in authority, nor of the plan of God to use what we think of as "unfair" or "evil" to His good.