Members and relatives of the British Royal Family historically represented the monarch in various places throughout the British Empire , sometimes for extended periods as viceroys , or for specific ceremonies or events.