You're not necessarily happy to abide by the new law - you are willing to abide by it. You may dislike it very much indeed, and actively campaign to change it, but you will still abide by it while it exists.
Laws get changed. Often as a result of pressure from those that do not agree with them. Thirty or forty years ago (I don't know exactly when the law was changed), for example, buggery was a crime, by law.