On second thought, I think your edit is okay, because even though it is a "jalan nasional", it does not function as a trunk road (connecting cities), but rather as a road for entering/exiting a city. I'm okay with this road being a primary road.