EU diplomats are addressing last-minute changes demanded by Spain over Gibraltar.