A judge in northwestern Ohio found a pastor guilty on criminal charges Tuesday for failing to comply with the city fire code after he opened his church to let homeless people and others stay inside overnight to escape the winter chill.