Nowra man accused of spitting on police officer 'claimed he had coronavirus': court