Not the Pinkertons, but John Sayle's Matewan from 1987 features the Baldwin-Felts agency behaving similarly.