Obama's signature could spare the government a courtroom reckoning, legal experts say.