(a) Whenever an accused who enters a plea of guilty or nolo contendere prior to an adjudication of guilt for any sexual offense defined in § 5-14-101 et seq. or incest as defined in § 5-26-202 for a sexual offense or incest perpetrated against a minor is eligible for probation under procedures defined in § 16-93-303 or any other provision of law, as a condition of granting probation the court shall prohibit the accused, upon release, from residing in a residence with any minor unless the court makes a specific finding that the accused poses no danger to the minors residing in the residence.
(b) Upon violation of this condition of probation, the court may enter an adjudication of guilt and proceed as otherwise provided by law.