This probably actually indeed should not be motorway but be trunk or primary (probably the former as most of it is already trunk).  I do wonder why it changes to motorway for a small segment and changes back, seems awfully weird.