Why are you bringing colour appearance here when it is easy to show that a simple RGB colourspace transformation produces the same effect? What is the intent of the demonstration?
Given a RGB cube, transformed to another space, are you expecting that its boundaries/edges are “magically” vanishing?