The rules tend to vary from one historical/cultural site to the next, which is why it’s important for production companies to consult with their film contacts beforehand.
The film contact will provide the rules and regulations that need to be followed and those must be adhered to by the filmmakers.