Firstly i would teleport them to a roof and listen to both sides of the story after i would check the logs and see if Player y was breaking NLR and if they were i would warn them for NLR if it was not a Bank raid or PD raid.
You should have specified where you said "if it was not a bank raid or pd raid" that this only applies for police.