As setting such routes may break existing setups. Closes #21964. (cherry picked from commit cfe1237f)