Trapping virtual pores by crystal retro-engineering