You are right. It is a tricky one. I believe there are ways to oppose authority that is acceptable to God. Like voting against an office holder whose positions are contrary to the expressed will of God. Or turning out of power a tyrant who has killed millions of innocents.