Can someone identify this part?

couple millimeters between its tab and two uninsulated vertical resistor legs right behind it.
I find it stupid to place 2K7 right at the border of the PCB - there is so much wasted PCB space and you (well, not you, but someone...) design it to even stretch out of PCB space? Of course it does not matter from a technical perspective, but it's not a huge redesign to do it visually pleasing.