The federal government will ratify the protocols by year's end and state and territory governments must also ensure their detention facilities will meet the new standards as soon as possible after ratification.