What is the legal procedure should an employer refuse an architect the permission to carry out the mandatory inspection once the rectification period has ended?

This is covered by JCT Standard Building Contract 2009 clause 2.38. Should such a scenario arise, the employer has repudiated their contractual obligations and the architect is legally entitled to accept the repudiation and claim damages. A certificate of making good cannot be issued subject to clause 3.39.