The 1582 document establishing the Gregorian Calendar, "Inter Gravissimas", specifically says that Y2K is leap.

https://en.wikisource.org/wiki/Translation:Inter_gravissimas

"Next, so that the equinox will no longer recede in future from the twelfth day before the Kalends of April [i.e. 21 March], we decree:

    that the bissextile day every fourth year shall continue, as the custom is now, except in centurial years, although these were always bissextiles before, and we wish the year 1600 to be bissextile as well;
    after that, however, the centurial years that follow shall not all be bissextiles, only every fourth centurial year shall be bissextile, thus the years 1700, 1800 and 1900 shall not be bissextile. But in the year 2000, the bissextile day shall be added in the usual way, with February containing 29 days;
    and then the same order of leaving out and adding the bissextile day shall be observed in each period of 400 years ever after."