You have the postcode allocated to the area at the time they were distributed.
Boundaries etc change, even counties, but you keep the same postcode for the area.
Parts of Yorkshire have Teesside, Cumbrian and even Lancs postcodes.
As long as the postie knows where it is we need not worry