The European Union was days away Friday from ratification of the Lisbon Treaty after the president of the Czech Republic — the remaining holdout in negotiations — agreed to ratify it.