“We have by our support for Ukraine defended ourselves,” said Egils Levits, who concluded his term as Latvia’s president this month.