Political party funding battle now in court’s hands