The ÔÇÿcasoÔÇÖ of whether to inform the king when a family member has committed a crime is one that the Spanish casuists addressed specifically in the confessors' manuals.
This is pretty legalistic reasoning, which many people may - rightly or wrongly - consider casuistic to the point of silliness.