To add to zwk500:
a 20m-plus vehicle will overhang at both ends and in the middle on a small-radius curve.
It might therefore come into contact with something at the lineside [..]
Whilst what you state is correct (although it’s true in varying severity for any size of vehicle on any curve), I don't think this would be a factor in the stated 'minimum curve' on a wagon, unless it was a set of wagons with semi-permanent couplings, in which case absolutely.
Track designers will specifically calculate the risk of buffer locking for any given set of curves and traffic, which will feed into design acceptance and published gauging acceptance in the sectional appendix.
Similarly, they will specifically calculate the clearances from any vehicle to any structure that's close to the railway, and this again feeds into the above, it wouldn’t be a restriction on the vehicle itself.
Agreed that buffer compression would be a factor though, although I think you'd have to be on an extremely tight curve for this to be an issue.
Essentially, it's mostly about the ability of the bogie and wheelsets to safely rotate around tight curves without climbing up the rail.
A stiffer bogie will place greater sideways forces onto the wheel, increasing its chance of climbing a rail in a tight curve.
The 'wheelbase', which is the distance between the two wheels on a wheelset, will also be a key factor - the further apart they are, the more stable the vehicle at higher speeds, but also the more difficult it will be for the vehicle to navigate tight curves because the distance apart is fixed.
Some bogies have fixed wheelsets and rely on the rotation of the whole bogie to accommodate curves, which is simpler but means the angle of attack of the wheels gets greater as the curve radius gets tighter, leading to a greater risk of flange climb on tight radii. Some bogies allow each axle to rotate independently, meaning the axles can separately adjust to the curvature, enabling them to go round tighter curves with much lower flange climb risk.
Different types of couplings also have a different ability to flex/rotate etc, so some types will only be able to accommodate a certain radius before being pulled or twisted beyond their normal operating limits. This is especially true for semi-permanent coupling / fixed formation wagons.
Lastly, the wheel profile is also a potential factor. There are several different wheel profiles, some with slightly bigger flanges, some with tighter curves etc. Different profiles have a different risk on different curves and at different speeds, and some are just older designs that have never been updated, but again, this will factor into the minimum safe radius for the vehicle.