So, if like other cities and states, if a homeowner has maintained a public or private owned property for so many years, they can rightly claim that property as theirs, otherwise, the city is right in saying that they have exceeded their rightful property boundary.
This is Sacramento, so I don't know what their rules are with regards to this situation.
No adverse possession against a municipality.