Google DMCA on a page that was forbidden in robots.txt

I’ve received a “Notice of DMCA removal from Google Search” for a page was inaccessible to google as per robots.txt. Why did Google have this page in search if it was disallowed from visiting it at all?