The preliminary ruling could undermine a class action being brought by 'mortgage prisoners', who claim they have been unfairly tied in to high interest rates.