Once i worked for a company which had to lay off some people due to reorganisations. Management told and wrote to us that these people would be chosen based upon their performance only.
It was quite the weird coincedence that people who had an excellent performance, but refused to renegotiate their old contracts in an earlier stage, were all laid off.