Lay a rail first, then start a road on one of the ends. It should get bugged, you can also get a red road variant.
You can’t move the bugged road afterwards. When you click the bugged road with delete tool, you get resources for it, but it doesn’t disappear. You can just hold your mouse and get free steel/concrete every tick.
When you reload the save you can then remove it.