Latvia has allocated funding to enable rapid dismantling of railway infrastructure in the event of military escalation in the Baltic region.