Yes, that is literally a written law that is being properly followed. Although the end result may be questionable, there is a legal framework by which disputes could be reasonably resolved, while trying to preserve the rights of all parties involved.
In other places you have no such thing and, trust me, things are much worse.