legalist
/ˈlɛɡəlɪst/Definitions
1. noun
A person who interprets or advocates a strict or literal application of the law, often to the point of being overly cautious or rigid.
“The lawyer was accused of being a legalist, only caring about the letter of the law, not the spirit.”
2. adjective
Following the law or rules in a strict or literal sense.
“The company’s policies were seen as overly legalistic, stifling creativity and innovation.”