Foreign Secretary David Lammy said the government would "act in our security interests"