it just means that they are doing as the law says, the sentence could end at Jerusalem.
Police were on stand by in case of any unrest, as West Bank Palestinians are banned from Jerusalem >as required by< Israeli regulations.
That isn't as good as "in keeping with", but that might make the meaning clearer.