Trisha Leeper/WireImage(ANAHEIM, Calif.) -- "Batkid" may have missed out on the chance to appear on the Oscars telecast with Andrew Garfield, but he did get to spend time with The Amazing Spider-Man star Monday at Disneyland.

Five-year-old leukemia survivor Miles Scott had taken part in a rehearsal for an Academy Awards segment with Garfield last Saturday. However, he and his family reportedly learned the next day his segment had been cut from the show.

The Academy of Motion Picture Arts and Sciences explained in a statement released Thursday, "Due to the nature of a live show, hard decisions sometimes must be made which require the Academy to cut segments due to the logistics of production."

The statement continued, "Andrew Garfield understood that his segment had to be omitted, and he drove to Disneyland on Monday to spend time with 5-year-old Miles Scott (Batkid) and his family."

Disneyland is located in Anaheim, Calif., approximately 33 miles southeast of the Dolby Theatre in Hollywood, where the Oscars were held.

While the Academy hasn't been more specific regarding why the segment was nixed, it appears a New York Post report claiming Garfield objected to the script and threw a tantrum is inaccurate.

His rep tells E! News, "In full collaboration with the Academy and the show writer, Andrew prepared a segment for the Oscars to honor Miles Scott as the true hero that he is. At some point overnight on Saturday/Sunday morning, it was decided by those running the show that the segment didn't work in the ceremony. They decided to pull it -- Andrew and Miles were equally upset."

The rep also declares, "Andrew did the right thing for Batkid and anyone saying otherwise is flat out lying."

TMZ has posted a cute picture of a faux Oscars segment that Garfield put on for Miles on Monday in the child's hotel room. They're both wearing tuxedos, as Garfield laughs toward the camera.