Respected sir ,
There is a difference between samanya dharma and vishista dharma.
The normal query of him was towards the samanya dharmas of the slokam.
Involving Rama , bali , etc . Is really not necessary here.
Coming to your query -
Rama had a Brahma jnana even before he went to Vanavasa. That completely available or known to us by yoga vasishta .
On such a situation entire behaviour of Rama will be a questionable one. .. But that's not the case.
The Rama Avatara is for the development of Dharmic path inside humans. Seeing him with such a point of view in society creates an image to him . Instead of following his path of behaviour people follow to praise him. Which is highly happening in recent days.
Iam not against bhakti but the behavioural following of rama is really a necessary one inside the society.
Everything done by rama on valmiki ramayana was mithya only because he knows he was the Brahman yet he felt to say I feel my self as a son of Dasaratha etc. We can't take those things as wrong etc.
Thirdly the sloka tells about general principles not suitable for specific case. Because even the veda vyasa knows dharma differs from case to case and situation to situation etc.
Instead of general study involving a specific case study is really unnecessary.
Hanuman told lankini that he came to see lanka in sundara kanda . Can we say that as a truth ....
Some goons came to kill someone and you tell his whereabouts because you were bound by satya vrata... That's a wrong one na.
There exists a story in devi bhagavatam where just inorder to save an animal the person says the eyes which can see can't tell and the mouth which can tell can't see.
I hope you remember that context.
Coming to HIV topics etc. The family have an option of doing medical tests na. They may do medical tests and may know about the health situation of the groom/bride. Just on believing the words if the family moves then the fault exists on the family too. The family had the responsibility of the boy/girl who is going to be married.
Coming to the cases like rama/ sibi / bali there vishista law follows.
The specified sloka was a samanya sloka and there exists vishista dharma which overrules the samanya . त्यागेनैके अमृतत्त्व मानसुः may be applied here.
In general complete looting generally happens when enemies invade .Or when persons traveling through forest gets robbed.on those situations it's really a necessary one otherwise you can't sustain.
There is a statement in ramayana जीवन् भद्राणि पश्यति। hence in order to save life saying a lie can't be considered as a lie.
Its natural to lie in Rati etc. In order to get acceptance by spouse it becomes necessary to lie.
Poets themselves had several alankaras for that. If that's not allowed then entire kavya parampara will become a lie. Because all alankaras were generally seems to be lies.
while proposing love to spouse / lover everyone in general says I will love you for lifelong etc. Do you think that the girl /boy don't know that the statement was wrong ....Being an unmarried person I can't comment on it much more.
Even the lie in the above situations happens from both sides also. In marriage both the parties definitely lie with each other.
Anyway I wish to say that involving the specific case in a general is really unnecessary.
Pardon me for inconvenience if any.
Sorry if iam wrong.