I think you will get some boost from the wall or ceiling as that is a room boundary. Isn't that the Allison effect?
Also, from the specs, the inwall speaker uses two 210mm drivers whereas the 40 uses two 178mm drivers. I think that calculates out to be a 39% increase in driver area. Don't know about the length of travel of the driver.
Finally, what are the sizes of the two rooms? If the office is smaller than the room the 40s are in, then I think, with the other two facts considered, the inwalls will be perceived as having more bass.