Court orders Spain to grant a visa after a consular refusal and months of administrative silence