A group of men have been caught out by new coronavirus restrictions after police saw them sitting in a car together eating pizza over the weekend.