.....kind of like passing HCR to take over 1/6 of the American economy with the use of a loophole designed to pay electric bills to keep the lights on when congress is not in session (Reconciliation).
Obama's Iran Deal was an inappropriate (though not illegal) use of executive power to do a deal of this magnitude, especially when he knew that so many in the country so profoundly disagreed with it. It was a set up to be overturned id HRC ever lost. Even worse was the front end load of money.
It was as if he was willing to hurt his own country just to lay claim to a single significant foreign policy accomplishment.
Obviously, Obama never thought that his party woud lose control again. And given the revelations of his misuse of the FISA court to spy on opponents, I can see why he felt so confident.