Does the word "baron" have the same definition in the next two sentences?

A "robber baron" or "robber knight" is an historic term and title of disdain.

An oil baron.
the same meaning