I honestly do not think, that it was a root cause. Judging by how fast and smoothly everything happened, invasion was planned long before, and cancelling this law was just a coincidence which gave a boost and just one more reason for invasion.
This doesn't mean anything. Of course they had plans for the occupation of Crimea - countries have operational plans for a variety of contingencies that they practice for: that's what militaries do.