The PM hopes EU leaders will sign off her Brexit deal despite tension over Gibraltar.