A relative of Queen Elizabeth II was sentenced Tuesday to 10 months in prison for sexually assaulting a woman at his ancestral castle in Scotland.