The judge granted the woman a barring order after hearing evidence that her husband would force himself on her