As far as I know you can't remove the trim, just change it. There are several variations but to me at least, apart from the glass one and the one with the fence on top, they all appear the same. If a space is completely surrounded by walls, fences, spandrels or half walls, it's considered a room by the game.