The European Union warns that the deal on the link to Croatia could jeopardise Bosnia’s bid to join the bloc.