The first situation should have resulted in an instant cop ban for him, as:
1. You were not breaking any laws
2. You may not open fire on a suspect just like that (Especially non-violent ones)
The second one is reasonable, but all cops are reminded in /speed NOT TO SUSPECT/PULL OVER IF THEY ARE GOING WITHIN 10km/h OVER THE SPEED LIMIT.
Anyway, there are a lot of non rping bullshit coppers, but I tend to look more for the not-non rp bullshit coppers, rather than the other way around.