I think now you are correct.
A few turns ago I was able to build a railroad in a swamp (in Russia). This turn I was not able to; I believe there was a message of insufficient resources. I have just barely enough Capital to build in an open region.
Perhaps I had much more Capital on that prior turn when I was able to build it.