This question has options. Does the word "official" have the same definition in the next two sentences?

The golfer asked for an official who could give him a ruling.

In most soccer games there are three officials: the referee and two linesmen.

Options are: [I] different meanings. [II] the same meaning.
[II]