Prime minister says it 'did not occur' to him he was breaking covid rules