There's Stupid, and There's Very Stupid
As part of TCAS certification, there is a strapping option for max altitude at which the plane can achieve 1500 fpm climb for 300 feet. This is based on data from the airframe manufacturer.
Above that altitude, the TCAS will give only Maintain or Descend commands, and thus keep everybody separated.
There are subsets of that, like the 747-100 being strapped to never give a Climb command with flaps beyond a certain setting, (like 7 1/2 degrees, IIRC.)
GB