The default access restrictions for highway=primary (see https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions) do not forbid pedestrians to use EN 120. So maybe this is rather an issue of the router than of the map?