High court explores enforcement, intent of MBTA housing law