Malaysian courts will not hesitate to impose custodial sentences on company directors who continue to flout environmental laws, local and multinational corporations (MNCs) in the country were warned today.