A police officer pulls over a driver whose vehicle has gone past the speed limit.
The driver explains -- sweating and grimacing -- that he is racing to the hospital to be treated for an unbearable sudden pain.
But the officer writes the driver a speeding ticket anyway. After all, the driver has broken the law, and his pain is another matter entirely.
In the scenario above, the officer has ignored the context around the driver's misdemeanor. Instead, he has acted _____.
Later that night, facing an astronomical medical bill, and a hefty fine for his traffic violation, the driver laments the _____ nature of the law.
I'm looking for a word that could fill in those two blanks. That is, a word that describes a thing done, an action taken, or a decision made without being shaped by its context.