--------
The railroads are a special case as they are legally authorized to have their own police forces, and do. While they're privately employed, they have the same powers as a typical cop (or more).
They can get warrants, run investigations, and can make arrests anywhere in CA if the case involves the railroad.
They are not semi-powerless private security. They do not need "a real cop" to make an arrest or do the police work. (although they certainly do typically work with local authorities).