Disabling pipeline for project deletes /pipeline and /jobs routes and invalidates CI badges

Summary

I have disabled pipelines for a single project like it's described here: https://docs.gitlab.com/ee/ci/enable_or_disable_ci.html

The documentation states explicitely:

GitLab CI/CD is exposed via the /pipelines and /jobs pages of a project. Disabling GitLab CI/CD in a project does not delete any previous jobs. In fact, the /pipelines and /jobs pages can still be accessed, although it’s hidden from the left sidebar menu.

That's not true - while CI/CD is indeed hidden from the sidebar, both /pipelines and /jobs result in a 404 error. Also the embedding code for badges does not work anymore. It shows a broken image icon and the alternative text.

Steps to reproduce

In a project

In this project you might also have the code for the badge in Readme.md - which will show "unknown" or state of run pipeline while CI is enabled. This changes as soon as CI is disabled for project.