I know! Walls should allow barriers! In that specific case, you can just substitute the wall with a cell surrounded by barriers, but the cosmetics!
Also, if you put barriers on the edge of a room and then walls on the other side, it deletes the barriers