Lebanon's labour ministry says it is enforcing the law to protect Lebanese jobs and denies targeting Palestinians.