EU says new prime minister will not change Brexit talks