The interesting thing is that Ireland is the only country in the European Union where the citizens have to be consulted about this kind of thing. Everywhere else it gets nodded through by the politicians.
And that essentially was why people voted against the treaty, I'm pretty sure, because with the treaty (as it stands) in place that right to be consulted and to decide on many important things would have been at risk.