The EU system is generally that you can't just "fire" people, you have to have a reason: either documented underperformance or misconduct. You can make redundancies by eliminating positions, but again this is subject to consultation and fairness rules.