Very late answer. My goal is just to explicitly answer the question, for future readers who might have not understood Lorenzo's answer (read it first!)
For an ideal diode, the \$i\$-\$v\$ characteristics is divided into two cases, depending whether the diode is ON or OFF. In the following equations, the reference direction of the current and the reference polarity of the voltage are the typical ones, i.e. the arrow of \$i\$ points in the direction of the diode's symbol arrow, and the \$v\$ is defined according to the passive sign convention (\$+\$ sign where \$i\$ enters). If a diode is OFF, then
\$ i = 0, v < 0 \tag*{} \$
and if it's ON, then
\$ v = 0, i > 0 \tag*{} \$
So if you assume both diodes are off, then their voltages must be negative. If you get a positive voltage, the assumption is false. After replacing both diodes with an open circuit and applying KVL, you get that
\$ -1 + v_{D1} - 3 = 0 \implies v_{D1} = +4 \text{ V} > 0 \tag*{} \$
and
\$ -3 + v_{D2} - 3 = 0 \implies v_{D2} = +6 \text{ V} > 0 \tag*{} \$
Since their voltages are not negative, you got a contradiction. So they can't be OFF.