High Court ends 23 years of uncertainty over pet markets ban