The pressure of the inner core keeps it solid despite the temperature.
Are you sure it works that way?