I have a question about "in agreement with" and "in accordance with". Dictionaries think they are approximately the same. But for these sentence pairs:
1a. He acted in agreement with the rules.
1b. He acted in accordance with the rules.
2a. His behavior was in agreement with the smirk on his face.
2b. His behavior was in accordance with the smirk on his face.
, are there differences between the a-b pairs?