The snakes are essentially your property (an unfortunate fact of keeping animals). How can a judge order you to get rid of property as part of a custody agreement? That doesn't strike me as being in line with the law.