A court has found the two former executives involved in the torture of workers during the dictatorship in the 1970s.