Court orders police to feed inmates on court days