The acting prime minister of Israel , Ehud Olmert , said his country could not accept a situation in which Hamas would be part of the Palestinian Authority if the group remained armed with unchanged goals .