Bjarni wrote:
I can't see how autoreplace would be able to trigger this bug. It looks more like an unsupported feature in newgrf files. Feel free to proof me wrong

On further inspection, this newgrf feature is supported (peter1138 specifically made a patch for it, and it's in the trunk). If you test the US Set in OTTD/TTDP, you'll find that the E60CP can't carry freight cars.
Boxcars, TOFCs, heavy-item flatcars, intermodal container flats, high-cube boxcars, autoracks, and roadrailers are the exceptions to this rule, because the US Set readme states
E60CP - can only haul passengers, mail, valuables, food and goods.
(Yes, that's quite a lot of wagons, but they're still a minority, since it IS the US Set

).
Off-topic explanation to why this was believed to be a bug:
I thought that the E60CP could haul
no freight. This was due to a real bug in the US Set that disables the attachment of valid wagons
after the player tries to attach an incompatible wagon (such as a tanker), and then sells that wagon. This is all in TTDP. OTTD is mentioned later.
For example:
1. I add 1 coal wagon to my E60CP train of 5 boxcars. I then sell the coal wagon. Now I can no longer add any freight wagons (this even goes for armoured cars), unless I remove those 5 boxcars from the train.
2. I add 1 coal wagon to my E60CP engine, and then sell it. Now I can't add freight wagons at all, and must sell, then rebuy, my engine.
3. I add 1 coal wagon to my E60CP engine/train, and then remove it without selling it. I can still add freight wagons to my engine/train.
As you can see, this is easy to work around, but nevertheless a bug, and it's heading for the US Set thread soon. Ish.
Strangely enough, OTTD does not experience this bug (i.e. examples 1 and 2 do not apply).