The main job of the judicial branch is to enforce what law?

None. The Judicial Branch has no enforcement power. Their responsibility is to interpret and apply the law and ensure laws, executive orders and treaties are constitutional. The Executive Branch is responsible for enforcing the law.