The city usually has the authority to dismiss deed restrictions if it is in the best interest of the city.
my wording was too vague though, youre right in that I took for granted we were talking about the city and this doesnt generally apply to normal ownerships or else HOAs wouldnt be anywhere near as annoying as they are.