AI object! Judges will be able to use ChatGPT in legal rulings in England and Wales - despite the technology being prone to making up bogus cases