Court says skills deficit, not age, caused firing