Asking that question without any context is specious.
In any even, let's say the law back then was the same as today.
Would you have been in favor of arresting the Holy Family and sending them back to Herod?