I think that the rangers actual job is to keep people from going off-route while they're traveling. I mean we know from ORAS that there're areas which can't be accesed normally which have (comparatively) high level pokemonDon't know if this has been brought up already but... where are the freaking cops/rangers? They're always behind some bush and challenging you to a battle, but when some batshit crazy lunatic is about to blow up the entire region they're no where to be seen... what's up with that? I could understand if they couldn't do anything because they're not up to par as pokemon trainers ( we don't solve things with violence here ) but nope, they just don't show up. At. All. Like, they don't even try.
Perhaps the whole system is a lie and all Pokemon Rangers we've encountered thus far are faking their position? Is there even a government? Were the cops bribed? Are we ever going to find out Looke's true identity and why he lost his memories? Perhaps he uncovered this truth that should've been left in the dark? Find out in the next episode of Pokemon Z... had to.
as for the cops, there're like what, 10 officers shown in the whole series? I doubt they do much more that keep th roughnecks in line
and yes you canonically never lose cause you're playing Joe Cool who can beat criminal organizations singlehandly, be better at at berry farming, training and breeding than geniuses in each field, can become a superstar in like a week and have the pokemon equivalent of the Greatest Popstar of the Day fall in love with him (incidentally man do current popstars suck I mean Taylor Swift? Selina Gomez? Miley frigging' Cyrus? sheesh), also pokemon become friendlier and happier just by walking next to him