If the contractor company employs or employed on any day of the preceding twelve months 20 or more workmen, then the CLRA would be applicable to said company. In Maharashtra, the words “20 or more workmen” has been substituted by “50 or more workmen” (notification dated 05th Jan 2017).
Similarly, if the work comes under the preview of BOCW Act, than BOCW Act is applicable.
In your description it is cleared that CLRA Act is not applicable to the said company as the employee strength is less than 50 or even 20. However, you are bound to comply under BOCW in respect of your on roll employees. This is so because the sub-contractor already complying for their employees.
The PF-ESI has nothing to do with the contract or sub-contract. If the foreign company's employees overall strength comes under the preview of the ACTS, than PF-ESI will also applicable.
For more clarification, please put specific query so that learned members can throw further light on the matter.