Not saying he pulled it out of his ass.
Just that if the law that was written didn't say it, and actually specifically said something that was agreed was unconstitutional, construing a different meaning to the law is, IMO, overreaching by the court.
Basically the Court fixed the errors in the law for Congress.