EU to recognise Palestinian state 'when appropriate'