A proposal to rename a park in Dublin named after an Israeli president is not “legally sound”, the city council has heard.