I think you’d have to give us an example, because that’s very broad. Second, do you understand that our Church provides the guide for what is. as you say, “wrong” (naturally especially through Jesus’ words, and His own adherence to God’s law)?
If something is wrong, as in immoral, it is sinful if the person acted with full knowledge of that and without coercion or necessity.
The Church has been pretty explicit, for example, on what She calls unjust laws: those would be immoral laws, which the Church says we can and should break. One example would be abortion on demand, approved by the Supreme Court in 1973.
However, deciding on our own that a particular Stop sign should never have been placed there, and because it’s “wrong” (or is not visible until a driver is within a few yards of it) and should “therefore” be violated, is not an example of your proposition above. In such a case of a law creating actual danger, the citizen should inform the local government, and explain the danger and ask for modification.
Another oft-mentioned “example” (and I hope you’re not going there, poster) are the drug laws, particularly marijuana. This is many people’s favorite excuse to indulge a recreational activity: there “shouldn’t” be laws “restricting my freedom,” and after all, some people need medical marijuana, therefore I can rationalize my use of it. No, where marijuana is illegal, it’s illegal – growing, using, distributing, selling. Violating those laws is immoral. The correct action, for those so agitated about it, is to work to reverse the laws, rather than acting as your own private legislator.
Another example would be some of the welfare laws, unemployment laws, and other regulations affecting people financially. They can be subjectively viewed (many of them) as unfair, and therefore “wrong.” However, again, when we are not the law-givers we need to abide by the law, and seek to change them by legal avenues. The immoral thing would be to cheat or lie when seeking such government aid in order to redress the “wrong” of it.