Two laws are passed by Costa Rica to stop mass immigration.