Coastal Region Police commander Yoram Sofer was criticized after he initially refused to say what side he would take if government refuses to abide by court ruling