an official rank
尹 centers on a person holding authority or an official position, specifically an official rank. The meaning is narrow and refers to a formal role rather than a broad concept.
尹 is an ancient character depicting a hand holding a staff or symbol of authority, representing an official or governor. The modern form retains the basic shape of a hand over a horizontal line.
The top part looks like a hand holding a staff, and the bottom horizontal line suggests a level of authority. Picture an official holding a staff of rank.
For イン, imagine an official inn where the governor stays: inn -> イン, and the official rank is tied to the inn.