BS7671 regulation 132.12
Electrical equipment shall be arranged so as to afford as may be necessary:
(i)...
(ii) accessibility for operation, inspection, testing, fault detection, maintenance and repair
Hiding a JB behind a light fitting does not satisfy this regulation.