A court has reversed its decision to allow Gavi to be registered as a first-team player at Barcelona because the Catalan club filed their lawsuit late, LaLiga said on Monday.

Gavi, 18, signed a new contract at Camp Nou in September until 2026 but the Spanish top-flight did not clear the deal because Barca were in excess of their spending limit.

Barca filed a lawsuit against that decision and, on Jan. 31, a court ordered LaLiga to accept Gavi's registration, with his previous terms due to expire this summer.

The ruling said that a failure to do so "would imply the player's free agency and therefore cause serious, irreparable damage to Barca."