According to wiki Hungarian 4 digit roads should be tagged as secondary: https://wiki.openstreetmap.org/wiki/Highway:International_equivalence

The quality of the surface is a different metric, and there are other tags for that: 

https://wiki.openstreetmap.org/wiki/Key:smoothness

https://wiki.openstreetmap.org/wiki/Key:tracktype