CO, I would also support the above advice to make a formal complaint.
I always carry a laminated card to show any jobsworth such as you encountered.
Photocard.JPG
Note the statement regarding being forced to delete images being considered an assault, although I realise you were not on public property, although maybe it was property to which the public have access, so appropriate signage would be required.