Section 22 of the Town and Country Planning (Scotland) Act 1997 and the italic heading immediately preceding it are repealed.