score:5
The same page you linked to says this:
Please be advised that this regulation applies to Germany only. If you plan to transit or travel to other Schengen countries you have to contact the responsible consular mission of the respective countries to find out about their visa regulations
French visa wizard shows that you do need a visa to France in these circumstances. Without the visa you may be prevented from boarding or disembarking from the train or removed from it at the border, if there are any border checks involved.