Even today, there are laws that must be disobeyed by followers of Jesus Christ! God says that we are to "pray without ceasing," but some nations have told their people that it is illegal or unconstitutional to pray in certain places and at certain times! If we obey those mandates and "cease" praying are we not disobeying the God who created us?
If you are confused about whether or not you must disobey a law of man, then you need to spend more time in God's Word, listening to the Holy Spirit! We must make it our daily goal to KNOW THE WILL OF GOD IN EVERY SITUATION! When you know what God wants it is simple to know whether or not you must disobey the commands of men!
The law said that Daniel was guilty, but God declared Daniel innocent and sent an angel to rescue him from the mouths of lions!
"Lord Jesus help me to seek to know You and Your Word more today, so that I will know for certain if I can follow You and obey the laws of men! And may You be praised forever. Amen."