CAIRO — Egypt state news agency reports court overturns decision naming Hamas a terrorist organization.