The EU has brought the border crisis on itself