Our council want us to remove a 4-year-old canopy which we were told didn’t require planning. Can we appeal?

We had 12ft single rear extension about 17 years ago. Nearly 4 years ago we built a canopy extension having been advised by the council permission was not required, however they’re now saying we’re in breach and must be removed, Our neighbours have the exact same extension and have not objected. Can we appeal?