The legislation replaces a 2006 statute that was never implemented and was brought in following recent border tensions with Thailand.