Claiming Spouse points in a diffferent ANZSCO occupation

HI guys
Could you please tell me with regard to the spouse, do we both need to be on exactly the same list meaning both on STSOL or both on MLTSSL to claim 10 points or does it also work when one is on one list and the other on the other?

10 Points: had nominated a skilled occupation that is on the same skilled occupation list as your nominated skilled occupation

Thank you guys!