A mutant hepatitis B virus core protein mimics inhibitors of icosahedral capsid self-assembly.