Russia has warned it would be forced to take “retaliatory measures" to address what it called security threats created by Finland's membership.