McGregor court ruling