Scriptural Impasse?

Let me share another topic in scripture that seems to present an impasse.
Obeying God or obeying man's rules.

1 Peter 2:
13 Submit yourselves for the Lord’s sake to every human authority: whether to the emperor, as the supreme authority, 
14 or to governors, who are sent by him to punish those who do wrong and to commend those who do right. 
15 For it is God’s will that by doing good you should silence the ignorant talk of foolish people. 
16 Live as free people, but do not use your freedom as a cover-up for evil; live as God’s slaves. 
17 Show proper respect to everyone, love the family of believers, fear God, honor the emperor.


Acts 5:
27 The apostles were brought in and made to appear before the Sanhedrin to be questioned by the high priest. 
28 “We gave you strict orders not to teach in this name,” he said. 
     “Yet you have filled Jerusalem with your teaching and are determined to make us guilty of this man’s blood.”
29 Peter and the other apostles replied: “We must obey God rather than human beings! 
30 The God of our ancestors raised Jesus from the dead—whom you killed by hanging him on a cross. 
31 God exalted him to his own right hand as Prince and Savior that he might bring Israel to repentance and forgive their sins. 
32 We are witnesses of these things, and so is the Holy Spirit, whom God has given to those who obey him.”

These two scriptures seem to oppose each other.
Work it out, then return to the forgiveness issue.
Search