A law concerning third-party funding of legal cases in Ireland comes from an era when people thought the earth was the centre of the universe, witches were burned at the stake and the rule of law paled in comparison to the rule of the sword, the High Court has heard.