In one of the on-line dictionaries I have found this definition:
only (adj.):
Standing alone by reason of superiority or excellence
which fully applies to the example you quoted in your post.
So an adjective or an adverb? We seem to have conflicting explanations here.
