Unilever has confirmed jobs at one of its food factories in Germany are set to go even after it reached agreement with staff to keep the plant open.