Harry set for final courtroom battle against UK media