If they crossed the border illegally, yes, they broke the law. You don't need a judge to determine that.
Just like you don't need a judge to determine if someone drives without a driver's license.
Just like you don't need a judge to determine if someone drives without a driver's license.