That all depends on whether it is law or not. Not all of the highway code is law. Much of it is recommendations or guidelines. For example, I don't think that it is law that you must indicate. I'll go check...
Parking on the pavement is indeed against the law except where signs permit it outside London:
You MUST NOT park partially or wholly on the pavement in London, and should not do so elsewhere unless signs permit it. Parking on the pavement can obstruct and seriously inconvenience pedestrians, people in wheelchairs or with visual impairments and people with prams or pushchairs.
Law GL(GP)A sect 15