The Messenger of Allah (ﷺ) at times got up in the morning in a state of junub on account of having a sexual intercourse (with his wives during night) but not due to sexual dreams in the month of Ramadan, and would observe fast.
Sahih Muslim Book 13, Hadith 98