Yes, next in seniority will get the job. Government, that's the way it works; absolutely nothing to do with whether they are qualified, have knowledge of the technical aspects of the posting or (gasp) whether they are any good at all...
Come to think of it, I know another company in Hong Kong that works in exactly the same way.........!!