It should also be remembered that when President Obama signed this law, he also issued what is called a "signing statement" where he informed congress that he felt the law was unconstitutional and was an infringement on the powers of the Executive Branch.
In effect, he was saying that "yes it is a law, but I am not bound by it due to separation of powers". Unfortunately, signing statements have become common (too common) in the past 40 years.