The problem with the legislature about funding is that regular maintainance of the railroad network would has to be paid by Deutsche Bahn itself, whereas creation of new infrastructure or complete rebuilding of completely degraded railway infrastructure is to be paid out of the federal budget. Taking preventative/regular maintainance also is at the discretion of the Deutsche Bahn as a corporation. Of course this incentives the executives of the Bahn to let the railroads rot.
I have a hard time imagining that the perverse incentives in the system have not been obvious to those in power at its inception.