A contract would be backed by international law.
The contract would be illegal ab initio, because the president didn’t have the authority to ignore Congress.