Two one-time record distributing firm executives have pleaded no contest to two counts each of selling bootleg Beatles and Black Sabbath record albums. Richard Foos, 36, of Los Angeles and Robert Marin, 35, of Beverly Hills were ordered by Los Angeles Municipal Judge Michael E. Pastor to each pay fines and penalties of $11,300, Deputy City Atty. Arthur B. Walsh said. They were arrested in November, 1982, after an undercover officer purchased the albums, containing otherwise unreleased recordings, at a Pico Boulevard warehouse. In return for the pleas, the city attorney’s office agreed to dismiss nine more counts of bootlegging against the two men and to dismiss similar charges against the firms for which they had worked, Rhino Records Inc. (not affiliated with the retail music shops of the same name) and Sounds Good Import Co.