However, in none of the biblical accounts of heroes obeying God rather than man is there any hint that they claimed to be immune from punishment by man for that reason.
The whole point of civil disobedience is that one willingly accepts the prescribed punishment for breaking the law.
Sorry ‘bout the double post. Not sure how it happened.