Bozkurt, çağdaş hukuk ve Cumhuriyet