Exactly. That's why people think some gas giants and other such planets may have diamond cores - the pressure and all that jazz.