They should be fine to modify. Even if you accidentally partially cut through the spine, and you stop there, it shouldn't affect function.
Again, anywhere around 1-1.5mm depth is fine. Any less will work but probably not as well. Any deeper than about 2mm is a waste, as the latch itself has a limited rotation.