It rather depends exactly how and what the PV circuit is wired in. If it is wired in armoured cable from the AC isolator to the consumer unit then it is mechanically protected and this solution would probably be acceptable. If it is not wired in armoured cable then I would have thought it would need RCD or RCBO protection, but as I say I am not an electrician.