A stoush between a council and builders over defects emerging in a sports facility has found its way to the Supreme Court.