While it hasn't been confirmed if it was a line from the script or an ad-lib from Carrey, hearing the film's villain quote Donald Trump was not expected. After the film's final battle, Robotnik makes the rather shocking argument that "there were good people on both sides," a clear nod to Donald Trump's impolitic response to a deadly white supremacist rally held in Charlottesville, Virginia, in 2017.